Interface of callback object for classification model traversal.
More...
- Deprecated:
- This item will be removed in a future release.
abstract boolean onLeafNode |
( |
long |
level, |
|
|
long |
response |
|
) |
| |
|
abstract |
This method is called by traversal method when a leaf node is visited.
- Parameters
-
level | Level in the tree where this node is located |
response | The value of response given by that node |
- Returns
- This method should return false to cancel further search and true otherwise
abstract boolean onSplitNode |
( |
long |
level, |
|
|
long |
featureIndex, |
|
|
double |
featureValue |
|
) |
| |
|
abstract |
This method is called by traversal method when a split node is visited.
- Parameters
-
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 |
- Returns
- This method should return false to cancel further search and true otherwise
The documentation for this class was generated from the following file:
- classifier/TreeNodeVisitor.java