CvDTreeTrain Method (CvDTreeTrainData, CvMat) OpenCvSharp Class Library
Trains decision tree

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public virtual bool Train(
	CvDTreeTrainData trainData,
	CvMat subsampleIdx
)

Parameters

trainData
Type: OpenCvSharp.CPlusPlusCvDTreeTrainData

[Missing <param name="trainData"/> documentation for "M:OpenCvSharp.CPlusPlus.CvDTree.Train(OpenCvSharp.CPlusPlus.CvDTreeTrainData,OpenCvSharp.CvMat)"]

subsampleIdx
Type: OpenCvSharpCvMat

[Missing <param name="subsampleIdx"/> documentation for "M:OpenCvSharp.CPlusPlus.CvDTree.Train(OpenCvSharp.CPlusPlus.CvDTreeTrainData,OpenCvSharp.CvMat)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:OpenCvSharp.CPlusPlus.CvDTree.Train(OpenCvSharp.CPlusPlus.CvDTreeTrainData,OpenCvSharp.CvMat)"]

See Also

Reference