Description Usage Arguments Value Author(s)
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 | grnn.test(results, test.set)
|
results |
The object returned by 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
sigma: The sigma parameter
id: The id number of the network, as given by 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.