Skip to content

Instantly share code, notes, and snippets.

View jbkunst's full-sized avatar
🐢
Work it harder Make it better Do it faster

Joshua Kunst jbkunst

🐢
Work it harder Make it better Do it faster
View GitHub Profile
library(ranger)
data("mtcars")
regularized_rf <- ranger(mpg ~ .,
data = mtcars,
num.trees = 500,
# num.threads = 1, # needs to be set to
# avoid parallelization
mtry = 7,
importance = "impurity",