Click or drag to resize

LogisticRegressionPredict Method (InputArray, OutputArray, Int32)

Predicts responses for input samples and returns a float type.

Namespace:  OpenCvSharp.ML
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public float Predict(
	InputArray samples,
	OutputArray results = null,
	int flags = 0
)

Parameters

samples
Type: OpenCvSharpInputArray
The input data for the prediction algorithm. Matrix [m x n], where each row contains variables (features) of one object being classified. Should have data type CV_32F.
results (Optional)
Type: OpenCvSharpOutputArray
Predicted labels as a column matrix of type CV_32S.
flags (Optional)
Type: SystemInt32
Not used.

Return Value

Type: Single

[Missing <returns> documentation for "M:OpenCvSharp.ML.LogisticRegression.Predict(OpenCvSharp.InputArray,OpenCvSharp.OutputArray,System.Int32)"]

See Also