Java* API Reference for Intel® Data Analytics Acceleration Library 2018 Update 1

List of all members
TreeNodeVisitor Class Referenceabstract

Interface of callback object for classification model traversal. More...

Class Constructor

Default constructor

Detailed Description

Member Function Documentation

abstract boolean onLeafNode ( long  level,
long  response 
)
abstract

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

Parameters
levelLevel in the tree where this node is located
responseThe 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
levelIndex of the feature used in a split criteria
featureIndexIndex of the feature used as a split criteria in this node
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.