R6 class ModelCompareMultivariate

R6 class ModelCompareMultivariate

Super class

tswgewrapped::ModelCompareBase -> ModelCompareNNforCaret

Methods

Public methods

Inherited methods

Method new()

Initialize an object to compare several Univatiate Time Series Models

Usage

ModelCompareNNforCaret$new(data = NA, var_interest = NA, mdl_list, verbose = 0)

Arguments

data

The dataframe containing the time series realizations (data should not contain time index)

var_interest

The output variable of interest (dependent variable)

mdl_list

A single caret model (which may contain results of grid or random search)

verbose

How much to print during the model building and other processes (Default = 0)

Returns

A new `ModelCompareNNforCaret` object.


Method get_var_interest()

Returns the dependent variable name

Usage

ModelCompareNNforCaret$get_var_interest()

Returns

The dependent variable name


Method get_data_var_interest()

Returns the dependent variable data only

Usage

ModelCompareNNforCaret$get_data_var_interest()

Returns

The dependent variable data only


Method get_best_model_id()

Returns the model ID for the best model from the search

Usage

ModelCompareNNforCaret$get_best_model_id()

Returns

The model ID for the best model from the search


Method summarize_build()

Not applicable for the nnfor::mlp models, since we are passing already build models

Usage

ModelCompareNNforCaret$summarize_build()


Method clone()

The objects of this class are cloneable with this method.

Usage

ModelCompareNNforCaret$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.