Java* API Reference for Intel® Data Analytics Acceleration Library 2019 Update 5

List of all members

Class for building model of the decision forest classification algorithm More...

Class Constructor

ModelBuilder ( DaalContext  context,
long  nClasses,
long  nTrees 
)

Constructs the decision forest classification model builder

Parameters
contextContext to manage decision forest classification model builder
nClassesNumber of classes
nTreesNumber of trees

Detailed Description

Member Function Documentation

long addLeafNode ( long  treeId,
long  parentId,
long  position,
long  classLabel 
)

Create Leaf node and add it to certain tree

Parameters
treeIdTree to which new node is added
parentIdParent node to which new node is added (use noParent for root node)
positionPosition in parent (e.g. 0 for left and 1 for right child in a binary tree)
classLabelClass label to be predicted
Returns
Positive number node identifier
long addSplitNode ( long  treeId,
long  parentId,
long  position,
long  featureIndex,
double  featureValue 
)

Create Split node and add it to certain tree

Parameters
treeIdTree to which new node is added
parentIdParent node to which new node is added (use noParent for root node)
positionPosition in parent (e.g. 0 for left and 1 for right child in a binary tree)
featureIndexFeature index for spliting
featureValueFeature value for spliting
Returns
Positive number node identifier
long createTree ( long  nNodes)

Creates certain tree in the decision forest model

Parameters
nNodesNumber of nodes in created tree
Returns
Positive number tree identifier
Model getModel ( )

Get built model of decision forest classification

Returns
Model of decision forest classification

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

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