| BinaryClassificationTrain Method |
Trains the classification neural network using supplied trainer and patterns.
Namespace: Imsl.DataMining.NeuralAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntaxpublic virtual void Train(
ITrainer trainer,
double[,] xData,
int[] yData
)
Public Overridable Sub Train (
trainer As ITrainer,
xData As Double(,),
yData As Integer()
)
public:
virtual void Train(
ITrainer^ trainer,
array<double,2>^ xData,
array<int>^ yData
)
abstract Train :
trainer : ITrainer *
xData : float[,] *
yData : int[] -> unit
override Train :
trainer : ITrainer *
xData : float[,] *
yData : int[] -> unit 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