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

List of all members
TreeNodeVisitor Class Referenceabstract

Interface of abstract visitor used in tree traversal methods. More...

Class Declaration

Deprecated:
This item will be removed in a future release.
References

Member Function Documentation

virtual bool onLeafNode ( size_t  level,
size_t  response 
)
pure virtual

This method is called by traversal method when a leaf node is visited.

Parameters
[in]levelLevel in the tree where this node is located
[in]responseThe value of response given by that node
Returns
This method should return false to cancel further search and true otherwise
virtual bool onSplitNode ( size_t  level,
size_t  featureIndex,
double  featureValue 
)
pure virtual

This method is called by traversal method when a split node is visited.

Parameters
[in]levelIndex of the feature used in a split criteria
[in]featureIndexIndex of the feature used as a split criteria in this node
[in]featureValueFeature value used as a split criteria in this node
Returns
This method should return false to cancel further search and true otherwise

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

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