Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
public virtual bool Train( Mat trainData, DTreeDataLayout tflag, Mat responses, Mat varIdx = null, Mat sampleIdx = null, Mat varType = null, Mat missingMask = null, CvBoostParams param = null, bool update = false )
Parameters
- trainData
- Type: OpenCvSharp.CPlusPlusMat
[Missing <param name="trainData"/> documentation for "M:OpenCvSharp.CPlusPlus.CvBoost.Train(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.DTreeDataLayout,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.CvBoostParams,System.Boolean)"]
- tflag
- Type: OpenCvSharp.CPlusPlusDTreeDataLayout
[Missing <param name="tflag"/> documentation for "M:OpenCvSharp.CPlusPlus.CvBoost.Train(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.DTreeDataLayout,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.CvBoostParams,System.Boolean)"]
- responses
- Type: OpenCvSharp.CPlusPlusMat
[Missing <param name="responses"/> documentation for "M:OpenCvSharp.CPlusPlus.CvBoost.Train(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.DTreeDataLayout,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.CvBoostParams,System.Boolean)"]
- varIdx (Optional)
- Type: OpenCvSharp.CPlusPlusMat
[Missing <param name="varIdx"/> documentation for "M:OpenCvSharp.CPlusPlus.CvBoost.Train(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.DTreeDataLayout,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.CvBoostParams,System.Boolean)"]
- sampleIdx (Optional)
- Type: OpenCvSharp.CPlusPlusMat
[Missing <param name="sampleIdx"/> documentation for "M:OpenCvSharp.CPlusPlus.CvBoost.Train(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.DTreeDataLayout,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.CvBoostParams,System.Boolean)"]
- varType (Optional)
- Type: OpenCvSharp.CPlusPlusMat
[Missing <param name="varType"/> documentation for "M:OpenCvSharp.CPlusPlus.CvBoost.Train(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.DTreeDataLayout,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.CvBoostParams,System.Boolean)"]
- missingMask (Optional)
- Type: OpenCvSharp.CPlusPlusMat
[Missing <param name="missingMask"/> documentation for "M:OpenCvSharp.CPlusPlus.CvBoost.Train(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.DTreeDataLayout,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.CvBoostParams,System.Boolean)"]
- param (Optional)
- Type: OpenCvSharp.CPlusPlusCvBoostParams
[Missing <param name="param"/> documentation for "M:OpenCvSharp.CPlusPlus.CvBoost.Train(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.DTreeDataLayout,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.CvBoostParams,System.Boolean)"]
- update (Optional)
- Type: SystemBoolean
[Missing <param name="update"/> documentation for "M:OpenCvSharp.CPlusPlus.CvBoost.Train(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.DTreeDataLayout,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.CvBoostParams,System.Boolean)"]
Return Value
Type: Boolean[Missing <returns> documentation for "M:OpenCvSharp.CPlusPlus.CvBoost.Train(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.DTreeDataLayout,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.CvBoostParams,System.Boolean)"]