This is a abstract class for neural networks. It provides some functionalities used in more than one network type.
batchSize
Object of class "numeric"
. The batch size
for the training and test data during the learning.
errorFunction
Object of class "function"
. Function for error
calculation.
ff
Object of class "logical"
. Indicates if the package
ff
is used to save the network data.
genWeightFunction
Object of class "function"
. A function to
generate a randomly initialised weight matrix.
normalizeWeights
Logical indicating whether to normalize the weights.
learnRateWeights
Learn rate.
initialMomentum
Initial momentum.
finalMomentum
Final momentum.
momentumSwitch
Epoch at which to switch from initialMomentum
to
finalMomentum
.
epochs
Number of epochs.
stats
Training statistics.