Train the boost tree using the specific traning data
| C# | Visual Basic | Visual C++ |
public static bool CvBoostTrain( IntPtr model, IntPtr trainData, DATA_LAYOUT_TYPE tFlag, IntPtr responses, IntPtr varIdx, IntPtr sampleIdx, IntPtr varType, IntPtr missingMask, MCvBoostParams param, bool update )
- model (IntPtr)
- The Boost Tree model
- trainData (IntPtr)
- The training data. A 32-bit floating-point, single-channel matrix, one vector per row
- tFlag (DATA_LAYOUT_TYPE)
- The data layout type of the train data
- responses (IntPtr)
- A floating-point matrix of the corresponding output vectors, one vector per row.
- varIdx (IntPtr)
- Can be IntPtr.Zero if not needed. When specified, identifies variables (features) of interest. It is a Matrix>int< of nx1
- sampleIdx (IntPtr)
- Can be IntPtr.Zero if not needed. When specified, identifies samples of interest. It is a Matrix>int< of nx1
- varType (IntPtr)
- The types of input variables
- missingMask (IntPtr)
- Can be IntPtr.Zero if not needed. When specified, it is an 8-bit matrix of the same size as trainData, is used to mark the missed values (non-zero elements of the mask)
- param (MCvBoostParams)
- The parameters for training the random tree
- update (Boolean)
- specifies whether the classifier needs to be updated (i.e. the new weak tree classifiers added to the existing ensemble), or the classifier needs to be rebuilt from scratch
[Missing <returns> documentation for M:Emgu.CV.ML.MlInvoke.CvBoostTrain(System.IntPtr,System.IntPtr,Emgu.CV.ML.MlEnum.DATA_LAYOUT_TYPE,System.IntPtr,System.IntPtr,System.IntPtr,System.IntPtr,System.IntPtr,Emgu.CV.ML.Structure.MCvBoostParams,System.Boolean)]