Is there any way to retrieve the trained model from last_fit?
Does it just want to check the performance of the test set?
last_fit <- last_fit(workflow,initial_split_object)
Additionally, is there any way to evaluate the performance of the training set?
I'm predicting both test and train on a model that I fit() every time.
Isn't this a beautiful way?
predict(last_fit_model,train) %>%
bind_cols(train) %>%
rmse(truth=target, estimate=.pred)
predict(last_fit_model,train) %>%
bind_cols(train) %>%
rmse(truth=target, estimate=.pred)
thank you!