Trains the neural network using supplied training patterns.
Namespace:
Imsl.DataMining.Neural
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
void Train( Network network, double[,] xData, double[,] yData ) |
Visual Basic (Declaration) |
---|
Sub Train ( _ network As Network, _ xData As Double(,), _ yData As Double(,) _ ) |
Visual C++ |
---|
void Train( Network^ network, array<double,2>^ xData, array<double,2>^ yData ) |
Parameters
- network
- Type: Imsl.DataMining.Neural..::.Network
A Network object, which is the Network to be trained.
- xData
- Type: array<
System..::.Double
,2>[,](,)[,]
A double matrix containing the input training patterns.
- yData
- Type: array<
System..::.Double
,2>[,](,)[,]
A double matrix containing the output training patterns.
Remarks
The number of columns in xData must equal the number of nodes in the ?InputLayer. Each row of xData contains a training pattern.
The number of columns in yData must equal the number of Perceptrons in the OutputLayer. Each row of yData contains a training pattern.