Base class for models trained with the Decision tree algorithm
More...
|
static services::SharedPtr< Model > | create (size_t nFeatures=0, services::Status *stat=NULL) |
|
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.
static services::SharedPtr<Model> create |
( |
size_t |
nFeatures = 0 , |
|
|
services::Status * |
stat = NULL |
|
) |
| |
|
static |
Constructs the model trained with the boosting algorithm
- Parameters
-
[in] | nFeatures | Number of features in the dataset |
[out] | stat | Status of the model construction |
size_t getNumberOfFeatures |
( |
| ) |
const |
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
const ModelImpl* impl |
( |
| ) |
const |
|
inline |
Returns actual model implementation
- Returns
- Model implementation
Returns actual model implementation
- Returns
- Model implementation
void traverseBF |
( |
classifier::TreeNodeVisitor & |
visitor | ) |
const |
Perform Breadth First Traversal of tree
- Parameters
-
[in] | visitor | This object gets notified when tree nodes are visited |
- Deprecated:
- This item will be removed in a future release. Use Model::traverseBFS instead.
void traverseBFS |
( |
tree_utils::classification::interface1::TreeNodeVisitor & |
visitor | ) |
const |
Perform Breadth First Traversal of tree
- Parameters
-
[in] | visitor | This object gets notified when tree nodes are visited |
void traverseBFS |
( |
tree_utils::classification::TreeNodeVisitor & |
visitor | ) |
const |
Perform Breadth First Traversal of tree
- Parameters
-
[in] | visitor | This object gets notified when tree nodes are visited |
void traverseDF |
( |
classifier::TreeNodeVisitor & |
visitor | ) |
const |
Perform Depth First Traversal of tree
- Parameters
-
[in] | visitor | This object gets notified when tree nodes are visited |
- Deprecated:
- This item will be removed in a future release. Use Model::traverseDFS instead.
void traverseDFS |
( |
tree_utils::classification::interface1::TreeNodeVisitor & |
visitor | ) |
const |
Perform Depth First Traversal of tree
- Parameters
-
[in] | visitor | This object gets notified when tree nodes are visited |
void traverseDFS |
( |
tree_utils::classification::TreeNodeVisitor & |
visitor | ) |
const |
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: