Click or drag to resize

StatModelTrain Method (InputArray, SampleTypes, InputArray)

Trains the statistical model

Namespace:  OpenCvSharp.ML
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public virtual bool Train(
	InputArray samples,
	SampleTypes layout,
	InputArray responses
)

Parameters

samples
Type: OpenCvSharpInputArray
training samples
layout
Type: OpenCvSharp.MLSampleTypes
SampleTypes value
responses
Type: OpenCvSharpInputArray
vector of responses associated with the training samples.

Return Value

Type: Boolean

[Missing <returns> documentation for "M:OpenCvSharp.ML.StatModel.Train(OpenCvSharp.InputArray,OpenCvSharp.ML.SampleTypes,OpenCvSharp.InputArray)"]

See Also