Base class for models trained with the gradient boosted trees regression algorithm
More...
- Template Parameters
-
modelFPType | Data type to store model data, double or float |
- References
-
◆ clear()
Removes all trees from the model
◆ create()
Constructs the model
- Parameters
-
[in] | nFeatures | Number of features in the dataset |
[out] | stat | Status of the model construction |
◆ numberOfTrees()
virtual size_t numberOfTrees |
( |
| ) |
const |
|
pure virtual |
Gets number of trees in the model
- Returns
- number of trees
◆ traverseBF()
Performs Breadth First Traversal of i-th tree
- Parameters
-
[in] | iTree | Index of the tree to traverse |
[in] | visitor | This object gets notified when tree nodes are visited |
◆ traverseDF()
Performs Depth First Traversal of i-th tree
- Parameters
-
[in] | iTree | Index of the tree to traverse |
[in] | visitor | This object gets notified when tree nodes are visited |
The documentation for this class was generated from the following file: