model_by_version | R Documentation |
Model the data for a given version configuration
model_by_version( cfg = read_config(system.file("exdata/cf.std.000.yaml", package = "calanusthreshold")), x = read_dataset(), save_model = FALSE, save_pred = FALSE, save_summary = FALSE, path = ".", verbose = interactive() )
cfg |
list, as per |
x |
input data set (as data.frame or tibble). See |
save_model |
logical, if TRUE save the model, see |
save_pred |
logical, if TRUE save the prediction (made with testing data split), see |
save_summary |
logical, if TRUE save the summary (made with testing data split), see |
path |
character, output path, if it doesn't exists the it is created. Subdirectories are created for saving model, prediction, and summary |
verbose |
logical, if TRUE output helpful messages |
model_fit
object or NULL
This gets returned when there is an issue
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.