Description Usage Arguments Value Examples
View source: R/model_selection.R
Helper function to create final model selection criteria for forecasting
1 | model_selection(measure = "RMSE", n = 1, weights = "equal")
|
measure |
accuracy metric to arrange and weight by. Choices are RMSE and MAE. Default is RMSE |
n |
top_n number of models to select. Default is 1 |
weights |
option to weight model forcasts by inverse of measure or equally. Options are equal for equal weighting or weighted for inverse weighting. Default is equal |
model selection object
1 2 3 4 5 | # default
model_selection()
# weighted selection
model_selection(measure = "RMSE", n = 2, weights = "weighted")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.