evaluating | R Documentation |
Constructor for the evaluating
class representing a time series prediction
or modeling fitness quality evaluation based on a particular metric.
The evaluating
class has two specialized subclasses fitness
and
error
reagarding fitness criteria and prediction/modeling error metrics, respectively.
evaluating(eval_func, eval_par = NULL, ..., subclass = NULL)
fitness(eval_func, eval_par = NULL, ..., subclass = NULL)
error(eval_func, eval_par = NULL, ..., subclass = NULL)
eval_func |
A function for computing a particular metric. |
eval_par |
List of named parameters required by |
... |
Other parameters to be encapsulated in the class object. |
subclass |
Name of new specialized subclass object created in case it is provided. |
An object of class evaluating
. A list usually containing at least
the following elements:
func |
A function for computing a particular metric. |
par |
Particular parameters required by |
Rebecca Pontes Salles
Other constructors:
ARIMA()
,
LT()
,
MSE_eval()
,
modeling()
,
processing()
,
tspred()
e <- error(eval_func=TSPred::NMSE, eval_par=list(train.actual=NULL),
method="Normalised Mean Squared Error", subclass="NMSE")
summary(e)
f <- fitness(eval_func=stats::AIC, method="Akaike's Information Criterion", subclass="AIC")
summary(f)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.