Nnet: Neural Networks Using Multiple Starting Weights
Description
Estimates a feed forward neural network using multiple intial starting weight
vectors using the nnet function, and selects as the final model the one
that minimizes the criterion function. This function is designed to be used
with the Rcmdrma package. The function nnSub implements subsetting in
a way more analogous to other R fitting functions.
Usage
Nnet(formula, data, decay, size, subset = "")
nnSub(data, subset)
Arguments
formula
The formula to be used by nnet.
data
The dataframe to be used in the estimation.
decay
The decay parameter to be used by nnet.
size
The number of nodes in the hidden layer.
subset
A subseting expression (given as a quoted character string) for
the estimation data frame.
Value
A set of components identical to those returned by nnet.