Description Usage Arguments Value
train_model
This function is used by the shiny application to train
the baseline models for all the data that are stored in the var_out object
1 2 | train_model(var_out, screen = T, Model = "TOWT", pam_list = NULL,
days_off_path = NULL)
|
var_out |
a shiny reactiveValues object where the taining data are stored |
screen |
Boolean that determines if the analysis is a screening or a savings analysis. If it's a screening then the baseline model will return only the fitting results of the pre-installation period. While if it's savings analysis the baseline model will also return the predictions for the post-installation period |
Model |
Character string that correspond to the name of the used model |
pam_list |
A list with information about the hyperparameters of the considered model |
days_off_path |
A path of the file that include the date of the days off (i.e., holidays) |
train_model a list that contains a list of the results and a vector of indices data where the model failed to produce a result
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.