| StatModelPredict Method |
Predicts response(s) for the provided sample(s)
Namespace:
OpenCvSharp.ML
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public virtual float Predict(
InputArray samples,
OutputArray results = null,
StatModelFlags flags =
)
Public Overridable Function Predict (
samples As InputArray,
Optional results As OutputArray = Nothing,
Optional flags As StatModelFlags =
) As Single
public:
virtual float Predict(
InputArray^ samples,
OutputArray^ results = nullptr,
StatModelFlags flags =
)
abstract Predict :
samples : InputArray *
?results : OutputArray *
?flags : StatModelFlags
(* Defaults:
let _results = defaultArg results null
let _flags = defaultArg flags
*)
-> float32
override Predict :
samples : InputArray *
?results : OutputArray *
?flags : StatModelFlags
(* Defaults:
let _results = defaultArg results null
let _flags = defaultArg flags
*)
-> float32
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[Missing <returns> documentation for "M:OpenCvSharp.ML.StatModel.Predict(OpenCvSharp.InputArray,OpenCvSharp.OutputArray,OpenCvSharp.ML.StatModel.Flags)"]
See Also