Click or drag to resize
BinaryClassificationTrain Method
Trains the classification neural network using supplied trainer and patterns.

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

Parameters

trainer
Type: Imsl.DataMining.NeuralITrainer
A Trainer object, which is used to train the network. The error function in any QuasiNewton trainer included in trainer should be set to the error function from this class using the Error method provided by this class.
xData
Type: SystemDouble
A double matrix containing the input training patterns. The number of columns in xData must equal the number of nodes in the input layer. Each row of xData contains a training pattern.
yData
Type: SystemInt32
An int array containing the output classification values. These values must be 0 or 1.
See Also