Trains the neural network using supplied training patterns.
Namespace: Imsl.DataMining.NeuralAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntaxvoid Train(
Network network,
double[,] xData,
double[,] yData
)
Sub Train (
network As Network,
xData As Double(,),
yData As Double(,)
)
void Train(
Network^ network,
array<double,2>^ xData,
array<double,2>^ yData
)
abstract Train :
network : Network *
xData : float[,] *
yData : float[,] -> unit
Parameters
- network
- Type: Imsl.DataMining.NeuralNetwork
A Network object, which is the Network to be
trained.
- xData
- Type: SystemDouble
A double matrix containing the input training patterns.
- yData
- Type: SystemDouble
A double matrix containing the output training patterns.
Remarks
The number of columns in xData must equal the
number of nodes in the ?InputLayer. Each row of xData contains a training pattern.
The number of columns in yData must equal the
number of Perceptrons in the OutputLayer. Each row of yData contains a training pattern.
See Also