-
Notifications
You must be signed in to change notification settings - Fork 43
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
Feature request: Option to enable timing for each iteration #248
Comments
Related to #23 |
I understand and respect that the devs are not going in that direction... Do the devs or any users reading this have any workaround suggestions for collecting timings as cleanly as possible without a built-in feature for now? |
@EmilHvitfeldt , in your PR you mention ...
Is there a command or option setting in parsnip that records run-times? Could you elaborate on where to find it? |
If you set library(parsnip)
lm_spec <- linear_reg()
lm_fit <- fit(lm_spec, mpg ~ ., data = mtcars,
control = control_parsnip(verbosity = 2))
lm_fit$elapsed
#> user system elapsed
#> 0.002 0.000 0.002 Created on 2022-12-15 with reprex v2.0.2 |
Ah, related to #880, tidymodels/workflows#191, and friends. :) |
Pretty much what it says in the title.
Sometimes I have a suspicion that the computational time is related to one of the hyperparameter and it would be neat if you were able to test that hypothesis.
The text was updated successfully, but these errors were encountered: