Click or drag to resize
LeastSquaresTrainerTrain Method
Trains the neural network using supplied training patterns.

Namespace: Imsl.DataMining.Neural
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public virtual void Train(
	Network network,
	double[,] xData,
	double[,] yData
)

Parameters

network
Type: Imsl.DataMining.NeuralNetwork
The Network to be trained.
xData
Type: SystemDouble
A double matrix which contains the input training patterns. The number of columns in xData must equal the number of Nodes in the InputLayer.
yData
Type: SystemDouble
A double matrix which contains the output training patterns. The number of columns in yData must equal the number of Perceptrons in the OutputLayer.

Implements

ITrainerTrain(Network, Double, Double)
Remarks
Each row of xData and yData contains a training pattern. These number of rows in two arrays must be equal.
See Also