Skip to content

Make random forest faster #125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 3, 2025
Merged

Make random forest faster #125

merged 5 commits into from
Jul 3, 2025

Conversation

EmilHvitfeldt
Copy link
Member

Trying to deal with tidymodels/orbital#83

For the following code i'm getting:

library(tidymodels)
library(orbital)

rec_spec <- recipe(Sale_Price ~ ., data = ames) |>
  step_normalize(all_numeric_predictors()) |>
  step_dummy(all_nominal_predictors())

mod_spec <- rand_forest("regression", trees = 1)

wf_spec <- workflow(rec_spec, mod_spec)

wf_fit <- fit(wf_spec, ames)

orb <- orbital(wf_fit)

Before

one-tree

So far

Screenshot 2025-07-02 at 8 45 56 PM

@EmilHvitfeldt EmilHvitfeldt merged commit 33946b5 into main Jul 3, 2025
9 checks passed
@EmilHvitfeldt EmilHvitfeldt deleted the faster-rf branch July 3, 2025 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant