Click or drag to resize

StatModelPredict Method

Predicts response(s) for the provided sample(s)

Namespace:  OpenCvSharp.ML
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public virtual float Predict(
	InputArray samples,
	OutputArray results = null,
	StatModelFlags flags = 
)

Parameters

samples
Type: OpenCvSharpInputArray
The input samples, floating-point matrix
results (Optional)
Type: OpenCvSharpOutputArray
The optional output matrix of results.
flags (Optional)
Type: OpenCvSharp.MLStatModelFlags
The optional flags, model-dependent.

Return Value

Type: Single
See Also