CvDTreeTrain Method (Mat, DTreeDataLayout, Mat, Mat, Mat, Mat, Mat, CvDTreeParams) 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(
	Mat trainData,
	DTreeDataLayout tflag,
	Mat responses,
	Mat varIdx,
	Mat sampleIdx,
	Mat varType,
	Mat missingMask,
	CvDTreeParams param
)

Parameters

trainData
Type: OpenCvSharp.CPlusPlusMat

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

tflag
Type: OpenCvSharp.CPlusPlusDTreeDataLayout

[Missing <param name="tflag"/> documentation for "M:OpenCvSharp.CPlusPlus.CvDTree.Train(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.DTreeDataLayout,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.CvDTreeParams)"]

responses
Type: OpenCvSharp.CPlusPlusMat

[Missing <param name="responses"/> documentation for "M:OpenCvSharp.CPlusPlus.CvDTree.Train(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.DTreeDataLayout,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.CvDTreeParams)"]

varIdx
Type: OpenCvSharp.CPlusPlusMat

[Missing <param name="varIdx"/> documentation for "M:OpenCvSharp.CPlusPlus.CvDTree.Train(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.DTreeDataLayout,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.CvDTreeParams)"]

sampleIdx
Type: OpenCvSharp.CPlusPlusMat

[Missing <param name="sampleIdx"/> documentation for "M:OpenCvSharp.CPlusPlus.CvDTree.Train(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.DTreeDataLayout,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.CvDTreeParams)"]

varType
Type: OpenCvSharp.CPlusPlusMat

[Missing <param name="varType"/> documentation for "M:OpenCvSharp.CPlusPlus.CvDTree.Train(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.DTreeDataLayout,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.CvDTreeParams)"]

missingMask
Type: OpenCvSharp.CPlusPlusMat

[Missing <param name="missingMask"/> documentation for "M:OpenCvSharp.CPlusPlus.CvDTree.Train(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.DTreeDataLayout,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.CvDTreeParams)"]

param
Type: OpenCvSharp.CPlusPlusCvDTreeParams

[Missing <param name="param"/> documentation for "M:OpenCvSharp.CPlusPlus.CvDTree.Train(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.DTreeDataLayout,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.CvDTreeParams)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:OpenCvSharp.CPlusPlus.CvDTree.Train(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.DTreeDataLayout,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.CvDTreeParams)"]

See Also

Reference