| 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
)
Public Overridable Function Predict2 (
sample As InputArray,
Optional probs As OutputArray = Nothing
) As Vec2d
public:
virtual Vec2d Predict2(
InputArray^ sample,
OutputArray^ probs = nullptr
)
abstract Predict2 :
sample : InputArray *
?probs : OutputArray
(* Defaults:
let _probs = defaultArg probs null
*)
-> Vec2d
override Predict2 :
sample : InputArray *
?probs : OutputArray
(* Defaults:
let _probs = defaultArg probs null
*)
-> Vec2d
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