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>[,](,)[,]
An input double matrix containing training patterns.
yData
Type: array< System..::.Double ,2>[,](,)[,]
An output double matrix containing output training patterns.

Implements

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

Remarks

The number of columns in xData must equal the number of Nodes in the InputLayer.

The number of columns in yData must equal the number of Perceptrons in the OutputLayer.

Each row of xData and yData contains a training pattern. The number of rows in these two arrays must be at least equal to the number of weights in the Network.

See Also