Click or drag to resize
StatModelExtensionsTrain Method (IStatModel, TrainData, Int32)
http://www.emgu.com
Trains the statistical model.

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

Parameters

model
Type: Emgu.CV.MLIStatModel
The model.
trainData
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