Click or drag to resize

EMPredict2 Method

Predicts the response for sample

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public virtual Vec2d Predict2(
	InputArray sample,
	OutputArray probs = null
)

Parameters

sample
Type: OpenCvSharpInputArray
A sample for classification. It should be a one-channel matrix of \f$1 \times dims\f$ or \f$dims \times 1\f$ size.
probs (Optional)
Type: OpenCvSharpOutputArray
Optional output matrix that contains posterior probabilities of each component given the sample. It has \f$1 \times nclusters\f$ size and CV_64FC1 type.

Return Value

Type: Vec2d

[Missing <returns> documentation for "M:OpenCvSharp.EM.Predict2(OpenCvSharp.InputArray,OpenCvSharp.OutputArray)"]

See Also