scat_fda_bt {shinymodels} | R Documentation |
Tuned flexible discriminant analysis results
Description
This object has the results when a flexible discriminant analysis model was tuned over the interaction degree parameters.
Details
To reduce the object size, five bootstraps were used for resampling and missing data were removed.
The code used to produce this object:
library(tidymodels) library(discrim) tidymodels_prefer() # ------------------------------------------------------------------------------ ctrl_gr <- control_grid(save_pred = TRUE) # ------------------------------------------------------------------------------ data(scat) scat <- scat[complete.cases(scat), ] # ------------------------------------------------------------------------------ set.seed(1) scat_rs <- bootstraps(scat, times = 5) scat_fda_bt <- discrim_flexible(prod_degree = tune()) %>% tune_grid( Species ~ ., resamples = scat_rs, control = ctrl_gr )
Value
An object with primary class tune_results
.
[Package shinymodels version 0.1.1 Index]