Trains the neural network using supplied training patterns.

Namespace: Imsl.DataMining.Neural
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public virtual void Train(
	Network network,
	double[,] xData,
	double[,] yData
)
Visual Basic (Declaration)
Public Overridable Sub Train ( _
	network As Network, _
	xData As Double(,), _
	yData As Double(,) _
)
Visual C++
public:
virtual void Train(
	Network^ network, 
	array<double,2>^ xData, 
	array<double,2>^ yData
)

Parameters

network
Type: Imsl.DataMining.Neural..::.Network
The Network to be trained.
xData
Type: array< System..::.Double ,2>[,](,)[,]
A double matrix specifying the input training patterns. The number of columns in xData must equal the number of Nodes in the InputLayer.
yData
Type: array< System..::.Double ,2>[,](,)[,]
A double containing the output training patterns. The number of columns in yData must equal the number of Perceptrons in the OutputLayer.

Implements

ITrainer..::.Train(Network, array<Double,2>[,](,)[,], array<Double,2>[,](,)[,])

Remarks

Each row of xData and yData contains a training pattern. These number of rows in two arrays must be equal.

See Also