Description Usage Arguments Value Author(s)
View source: R/BETS.grnn.test.R
Given new values of the independent variables, tests a list of trained GRNNs and picks the best net, based on an accuracy measure between the forecasted and the actual values.
1 | BETS.grnn.test(results, test.set)
|
results |
The object returned by BETS.grnn.train. |
test.set |
A |
A list object representing the best network (according to forecasting MAPE). Its fields are:
mape: The forecasting MAPE
model: The network object (returned by grnn)
sigma: The sigma parameter
id: The id number of the network, as given by BETS.grnn.train
mean: The predicted values
x: The original series
fitted: The fitted values
actual: The actual values (to be compared with the predicted values)
residuals: Difference between the fitted values and the series original values
regressors: The regressors used to train the network
Talitha Speranza talitha.speranza@fgv.br
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.