Click or drag to resize
StatModelExtensionsTrain Method (IStatModel, TrainData, Int32)
Trains the statistical model.

Namespace: Emgu.CV.ML
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: (
public static bool Train(
	this IStatModel model,
	TrainData trainData,
	int flags = 0


Type: Emgu.CV.MLIStatModel
The model.
Type: Emgu.CV.MLTrainData
The train data.
flags (Optional)
Type: SystemInt32
The flags.

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Emgu.CV.ML.StatModelExtensions.Train(Emgu.CV.ML.IStatModel,Emgu.CV.ML.TrainData,System.Int32)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IStatModel. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also