# orderedItems[].object.content
A new version of #rstats broom hit CRAN late last week!🧹

v1.0.2 fixes a long-standing bug where `augment()` methods wouldn't return residuals when formula terms included function calls.

Read more in the release notes: https://github.com/tidymodels/broom/re leases/tag/v1.0.2

# orderedItems[].object.contentMap.en
A new version of #rstats broom hit CRAN late last week!🧹

v1.0.2 fixes a long-standing bug where `augment()` methods wouldn't return residuals when formula terms included function calls.

Read more in the release notes: https://github.com/tidymodels/broom/re leases/tag/v1.0.2

# orderedItems[].object.content
stacks v1.0.1 is now on CRAN!🥞 #rstats #tidymodels

This release tightens integration with the workflowsets package (incl. a new vignette) and improves error messages, among other things.

Read more in the release notes: https://github.com/tidymodels/stacks/r eleases/tag/v1.0.1

# orderedItems[].object.contentMap.en
stacks v1.0.1 is now on CRAN!🥞 #rstats #tidymodels

This release tightens integration with the workflowsets package (incl. a new vignette) and improves error messages, among other things.

Read more in the release notes: https://github.com/tidymodels/stacks/r eleases/tag/v1.0.1

# orderedItems[].object.content
@juliasilge @mcmullarkey @isabelizimm Ah, cross-posting twitter reply! This will "just work" upon release of LightGBM 4.0.0, and we've opted to not introduce bundle support for LightGBM in anticipation of that release. Installing dev LightGBM from source will do the trick in the meantime.

# orderedItems[].object.contentMap.en
@juliasilge @mcmullarkey @isabelizimm Ah, cross-posting twitter reply! This will "just work" upon release of LightGBM 4.0.0, and we've opted to not introduce bundle support for LightGBM in anticipation of that release. Installing dev LightGBM from source will do the trick in the meantime.

# orderedItems[].object.content
It's that time of year where a bunch of my friends post their Spotify Wrapped and I get jealous. So I wrote an #rstats package to help me analyze my own music listening data.🎧

https://www. simonpcouch.com/blog/listening-2022/

# orderedItems[].object.contentMap.en
It's that time of year where a bunch of my friends post their Spotify Wrapped and I get jealous. So I wrote an #rstats package to help me analyze my own music listening data.🎧

https://www. simonpcouch.com/blog/listening-2022/

# orderedItems[].object.attachment[].name
A screenshot of the blog post title "Analyzing my own music listening data with R and the tidyverse." Beside the title is a picture of my dog Millie, a brown and white border collie, sitting in the fall leaves. 

# orderedItems[].object.content
bonsai v0.2.1 is now on CRAN!🌳 bonsai is a parsnip extension #rstats package for tree-based models.

This release tightens integration with the LightGBM #tidymodels engine for boosted trees. Read more in the release notes: https://github.com/tidymodels/bonsai/r eleases/tag/v0.2.1

# orderedItems[].object.contentMap.en
bonsai v0.2.1 is now on CRAN!🌳 bonsai is a parsnip extension #rstats package for tree-based models.

This release tightens integration with the LightGBM #tidymodels engine for boosted trees. Read more in the release notes: https://github.com/tidymodels/bonsai/r eleases/tag/v0.2.1

# orderedItems[].object.content
Source code for this (rudimentary) experiment at: https://gist.github.com/simonpcouch/65 1d0ea4d968b455ded8194578dabf52

# orderedItems[].object.contentMap.en
Source code for this (rudimentary) experiment at: https://gist.github.com/simonpcouch/65 1d0ea4d968b455ded8194578dabf52

# orderedItems[].object.content
The #tidymodels team sent out a new release of #rstats parsnip earlier this week.

v1.0.3 is a patch release, but it contains some changes that result in a substantial speedup in many modeling settings!

# orderedItems[].object.contentMap.en
The #tidymodels team sent out a new release of #rstats parsnip earlier this week.

v1.0.3 is a patch release, but it contains some changes that result in a substantial speedup in many modeling settings!

# orderedItems[].object.attachment[].name
A ggplot titled "tidymodels got a lot faster!" displaying the relative speedup between parsnip 1.0.2 and 1.0.3. The number of rows in training data is on the x axis, ranging from one hundred to one million, and the factor of speedup (1.0.2 over 1.0.3) is on the y axis, ranging from 1 to 5. Three lines, colored by "number of folds," noting 5, 10, or 20 resamples, stretch from the bottom left to top right of the plot. This shows that, as training data gets larger, the magnitude of speedup with the new parsnip version gets larger and larger. 

# orderedItems[].object.content
@paprikagelb@mstodon.eu The website is https://carbon.now.sh/ !

# orderedItems[].object.contentMap.en
@paprikagelb@mstodon.eu The website is https://carbon.now.sh/ !

# orderedItems[].object.content
@maikelthedev via https://carbon.now.sh/ !

# orderedItems[].object.contentMap.en
@maikelthedev via https://carbon.now.sh/ !

# orderedItems[].object.content
I saw another "for loops in #rstats are bad" take on the bird site this afternoon.

Just pre-allocate your vectors, folks! All is well!

# orderedItems[].object.contentMap.en
I saw another "for loops in #rstats are bad" take on the bird site this afternoon.

Just pre-allocate your vectors, folks! All is well!

# orderedItems[].object.attachment[].name
A Carbon screenshot, showing two approaches to solving the same iterative problem in R. In one, I initialize a 0-length vector, and then, in a for loop, iteratively concatenate that vector with a new value 100,000 times. In the other, I initialize a vector with length 100,000, and then assign into it in each iteration. The first approach takes over 10 seconds, while the second takes less than a tenth of a second.

The screenshotted code is pasted below:

system.time({
vec1 <- numeric()
for (i in 1:1e5) {
  vec1 <- c(vec1, i)
}
})

system.time({
  vec2 <- numeric(1e5)
  for (i in 1:1e5) {
    vec2[i] <- i
  }
})

all(vec1 == vec2)

# orderedItems[].object.content
Hi, #rstats pals!🐣

# orderedItems[].object.contentMap.en
Hi, #rstats pals!🐣