Python* API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1
Interface of abstract visitor used in tree traversal methods. More...
Public Member Functions | |
def | onLeafNode |
def | onSplitNode |
def | __init__ |
def __init__ | ( | self | ) |
__init__(daal.algorithms.classifier.TreeNodeVisitor self) -> TreeNodeVisitor
def onLeafNode | ( | self, | |
level, | |||
response | |||
) |
This method is called by traversal method when a leaf node is visited.
level | Level in the tree where this node is located |
response | The value of response given by that node |
def onSplitNode | ( | self, | |
level, | |||
featureIndex, | |||
featureValue | |||
) |
This method is called by traversal method when a split node is visited.
level | Index of the feature used in a split criteria |
featureIndex | Index of the feature used as a split criteria in this node |
featureValue | Feature value used as a split criteria in this node |
For more complete information about compiler optimizations, see our Optimization Notice.