C++ API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1

List of all members
Model Class Referenceabstract

Model of the classifier trained by the decision_forest::training::Batch algorithm. More...

Class Declaration

References

Member Function Documentation

virtual void clear ( )
pure virtual

Removes all trees from the model

virtual size_t getNumberOfClasses ( ) const
pure virtual

Get number of classes in the decision forest model

Returns
number of classes
virtual size_t getNumberOfTrees ( ) const
pure virtual

Get number of trees in the decision forest model

Returns
number of trees
virtual size_t numberOfTrees ( ) const
pure virtual

Get number of trees in the decision forest model

Returns
number of trees
Deprecated:
This item will be removed in a future release. Use Model::getNumberOfTrees instead.
virtual void traverseBF ( size_t  iTree,
classifier::TreeNodeVisitor &  visitor 
) const
pure virtual

Perform Breadth First Traversal of i-th tree

Parameters
[in]iTreeIndex of the tree to traverse
[in]visitorThis object gets notified when tree nodes are visited
Deprecated:
This item will be removed in a future release. Use Model::traverseBFS instead.
virtual void traverseBFS ( size_t  iTree,
tree_utils::classification::interface1::TreeNodeVisitor &  visitor 
) const
pure virtual

Perform Breadth First Traversal of i-th tree

Parameters
[in]iTreeIndex of the tree to traverse
[in]visitorThis object gets notified when tree nodes are visited
virtual void traverseBFS ( size_t  iTree,
tree_utils::classification::TreeNodeVisitor &  visitor 
) const
pure virtual

Perform Breadth First Traversal of i-th tree

Parameters
[in]iTreeIndex of the tree to traverse
[in]visitorThis object gets notified when tree nodes are visited
virtual void traverseDF ( size_t  iTree,
classifier::TreeNodeVisitor &  visitor 
) const
pure virtual

Perform Depth First Traversal of i-th tree

Parameters
[in]iTreeIndex of the tree to traverse
[in]visitorThis object gets notified when tree nodes are visited
Deprecated:
This item will be removed in a future release. Use Model::traverseDFS instead.
virtual void traverseDFS ( size_t  iTree,
tree_utils::classification::interface1::TreeNodeVisitor &  visitor 
) const
pure virtual

Perform Depth First Traversal of i-th tree

Parameters
[in]iTreeIndex of the tree to traverse
[in]visitorThis object gets notified when tree nodes are visited
virtual void traverseDFS ( size_t  iTree,
tree_utils::classification::TreeNodeVisitor &  visitor 
) const
pure virtual

Perform Depth First Traversal of i-th tree

Parameters
[in]iTreeIndex of the tree to traverse
[in]visitorThis object gets notified when tree nodes are visited

The documentation for this class was generated from the following file:

For more complete information about compiler optimizations, see our Optimization Notice.