Base class for models trained with the Decision tree algorithm
More...
◆ Model()
Model |
( |
size_t |
nFeatures = 0 | ) |
|
Constructs the model trained with the Decision tree algorithm
- Parameters
-
[in] | nFeatures | Number of features in the dataset |
- Deprecated:
- This item will be removed in a future release. Use Model::create instead.
◆ create()
Constructs the model trained with the boosting algorithm
- Parameters
-
[in] | nFeatures | Number of features in the dataset |
[out] | stat | Status of the model construction |
◆ deserializeImpl()
Interfaces for the implementation of deserialization
- Parameters
-
[in] | archive | Storage for a deserialized object or data structure |
Implements SerializationIface.
◆ getNumberOfFeatures()
size_t getNumberOfFeatures |
( |
| ) |
const |
|
virtual |
Retrieves the number of features in the dataset was used on the training stage
- Returns
- Number of features in the dataset was used on the training stage
Implements Model.
◆ impl() [1/2]
const ModelImpl* impl |
( |
| ) |
const |
|
inline |
Returns actual model implementation
- Returns
- Model implementation
◆ impl() [2/2]
Returns actual model implementation
- Returns
- Model implementation
◆ serializeImpl()
Interfaces for the implementation of serialization
- Parameters
-
[in] | archive | Storage for a serialized object or data structure |
Implements SerializationIface.
◆ traverseBF()
Perform Breadth First Traversal of tree
- Parameters
-
[in] | visitor | This object gets notified when tree nodes are visited |
◆ traverseDF()
Perform Depth First Traversal of tree
- Parameters
-
[in] | visitor | This object gets notified when tree nodes are visited |
The documentation for this class was generated from the following file: