| grnn.test {BETS} | R Documentation |
Test a set of General Regression Neural Networks
Description
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.
Usage
grnn.test(results, test.set)
Arguments
results |
The object returned by grnn.train. |
test.set |
A |
Value
A list object representing the best network (according to forecasting MAPE). Its fields are:
mape: The forecasting MAPEmodel: The network objectsigma: The sigma parameterid: The id number of the network, as given by grnn.trainmean: The predicted valuesx: The original seriesfitted: The fitted valuesactual: The actual values (to be compared with the predicted values)residuals: Difference between the fitted values and the series original valuesregressors: The regressors used to train the network
Author(s)
Talitha Speranza talitha.speranza@fgv.br