Click or drag to resize
StatModelExtensionsPredict Method
http://www.emgu.com
Predicts response(s) for the provided sample(s)

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 float Predict(
	this IStatModel model,
	IInputArray samples,
	IOutputArray results = null,
	int flags = 0
)

Parameters

model
Type: Emgu.CV.MLIStatModel
The model.
samples
Type: Emgu.CVIInputArray
The input samples, floating-point matrix.
results (Optional)
Type: Emgu.CVIOutputArray
The optional output matrix of results.
flags (Optional)
Type: SystemInt32
The optional flags, model-dependent.

Return Value

Type: Single
Response for the provided sample

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