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

Parameters

trainData
Type: OpenCvSharpCvMat

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

tflag
Type: OpenCvSharp.CPlusPlusDTreeDataLayout

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

responses
Type: OpenCvSharpCvMat

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

varIdx
Type: OpenCvSharpCvMat

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

sampleIdx
Type: OpenCvSharpCvMat

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

varType
Type: OpenCvSharpCvMat

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

missingMask
Type: OpenCvSharpCvMat

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

param
Type: OpenCvSharp.CPlusPlusCvDTreeParams

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

Return Value

Type: Boolean

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

See Also

Reference