CvBoostTrain Method (CvMat, DTreeDataLayout, CvMat, CvMat, CvMat, CvMat, CvMat, CvBoostParams, Boolean) OpenCvSharp Class Library
Trains boosted tree classifier

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 = null,
	CvMat sampleIdx = null,
	CvMat varType = null,
	CvMat missingMask = null,
	CvBoostParams param = null,
	bool update = false
)

Parameters

trainData
Type: OpenCvSharpCvMat

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

tflag
Type: OpenCvSharp.CPlusPlusDTreeDataLayout

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

responses
Type: OpenCvSharpCvMat

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

varIdx (Optional)
Type: OpenCvSharpCvMat

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

sampleIdx (Optional)
Type: OpenCvSharpCvMat

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

varType (Optional)
Type: OpenCvSharpCvMat

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

missingMask (Optional)
Type: OpenCvSharpCvMat

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

param (Optional)
Type: OpenCvSharp.CPlusPlusCvBoostParams

[Missing <param name="param"/> documentation for "M:OpenCvSharp.CPlusPlus.CvBoost.Train(OpenCvSharp.CvMat,OpenCvSharp.CPlusPlus.DTreeDataLayout,OpenCvSharp.CvMat,OpenCvSharp.CvMat,OpenCvSharp.CvMat,OpenCvSharp.CvMat,OpenCvSharp.CvMat,OpenCvSharp.CPlusPlus.CvBoostParams,System.Boolean)"]

update (Optional)
Type: SystemBoolean

[Missing <param name="update"/> documentation for "M:OpenCvSharp.CPlusPlus.CvBoost.Train(OpenCvSharp.CvMat,OpenCvSharp.CPlusPlus.DTreeDataLayout,OpenCvSharp.CvMat,OpenCvSharp.CvMat,OpenCvSharp.CvMat,OpenCvSharp.CvMat,OpenCvSharp.CvMat,OpenCvSharp.CPlusPlus.CvBoostParams,System.Boolean)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:OpenCvSharp.CPlusPlus.CvBoost.Train(OpenCvSharp.CvMat,OpenCvSharp.CPlusPlus.DTreeDataLayout,OpenCvSharp.CvMat,OpenCvSharp.CvMat,OpenCvSharp.CvMat,OpenCvSharp.CvMat,OpenCvSharp.CvMat,OpenCvSharp.CPlusPlus.CvBoostParams,System.Boolean)"]

See Also

Reference