You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having trouble with extracting the fit time from a parsnip model.
It does not seem to find the associated S3method.
Reproducible example
library(tidymodels)
sim_data<-modeldata::sim_regression()
linear_spec<- linear_reg(mode="regression")
lm_fit<- fit(linear_spec, outcome~., sim_data)
extract_fit_time(lm_fit)
#> Error in UseMethod("extract_fit_time"): no applicable method for 'extract_fit_time' applied to an object of class "c('_lm', 'model_fit')"
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.
The problem
I'm having trouble with extracting the fit time from a parsnip model.
It does not seem to find the associated S3method.
Reproducible example
Created on 2025-01-24 with reprex v2.1.1
Session info
The text was updated successfully, but these errors were encountered: