Class BenchmarkModel

Direct Superclass

Private attributes

  • mean_model the attribute for holding a MeanModel objects (default NA)

  • drift_model the attribute for holding a list of DriftModel objects (default NA)

  • naive_model the attribute for holding a list of NaiveModel objects (default NA)

  • snaive_model the attribute for holding a list of SeasonalNaiveModel objects (default NA)

Public methods

  • buildModel() builds mean, drift, naive and seasonal naive models, measures the forecast accuracy and selects the best model that has the biggest number of the lowest MAE, RMSE, MASE and MAPE scores;

  • useModel(fcast_period) uses the selected best model type to generate forecasts fcast_period-steps ahead into the future

  • getMeanModel() returns private attribute mean_model

  • getDriftModel() returns private attribute drift_model

  • getNaiveModel() returns private attribute naive_model

  • getSNaiveModel() returns private attribute snaive_model