Train the ANN_MLP model with the specific paramters
Namespace:
Emgu.CV.ML
Assembly:
Emgu.CV.ML (in Emgu.CV.ML.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
Parameters
- model
- Type: System..::.IntPtr
The ANN_MLP model
- trainData
- Type: System..::.IntPtr
The training data. A 32-bit floating-point, single-channel matrix, one vector per row
- responses
- Type: System..::.IntPtr
A floating-point matrix of the corresponding output vectors, one vector per row.
- sampleWeights
- Type: System..::.IntPtr
(RPROP only) The optional floating-point vector of weights for each sample. Some samples may be more important than others for training, e.g. user may want to gain the weight of certain classes to find the right balance between hit-rate and false-alarm rate etc
- sampleIdx
- Type: System..::.IntPtr
Can be IntPtr.Zero if not needed. When specified, identifies samples of interest. It is a Matrix>int< of nx1
- parameters
- Type: Emgu.CV.ML.Structure..::.MCvANN_MLP_TrainParams
The parameters for ANN_MLP
- flags
- Type: Emgu.CV.ML.MlEnum..::.ANN_MLP_TRAINING_FLAG
The traning flag
Return Value
The number of done iterations
See Also