Uses of Interface
org.tribuo.common.tree.Node
Package
Description
Provides internal implementation classes for classification decision trees.
Provides common functionality for building decision trees, irrespective
of the predicted
Output
.Provides an implementation of decision trees for regression problems.
Provides internal implementation classes for the regression trees.
-
Uses of Node in org.tribuo.classification.dtree.impl
Modifier and TypeClassDescriptionclass
A decision tree node used at training time. -
Uses of Node in org.tribuo.common.tree
Modifier and TypeClassDescriptionclass
AbstractTrainingNode<T extends Output<T>>
Base class for decision tree nodes used at training time.class
An immutable leafNode
that can create a prediction.class
An immutableNode
with a split and two child nodes.Modifier and TypeFieldDescriptionAbstractTrainingNode.greaterThan
AbstractTrainingNode.lessThanOrEqual
Modifier and TypeMethodDescriptionAbstractTrainingNode.convertTree()
Converts a tree from a training representation to the final inference time representation.AbstractTrainingNode.copy()
Node.copy()
Copies the node and it's children.SplitNode.copy()
SplitNode.getGreaterThan()
The node used if the value is greater than the splitValue.SplitNode.getLessThanOrEqual()
The node used if the value is less than or equal to the splitValue.AbstractTrainingNode.getNextNode
(SparseVector example) LeafNode.getNextNode
(SparseVector e) Node.getNextNode
(SparseVector example) Returns the next node in the tree based on the supplied example, or null if it's a leaf.SplitNode.getNextNode
(SparseVector e) Return the appropriate child node.TreeModel.getRoot()
Returns the root node of this tree.Modifier and TypeMethodDescriptionprotected static <T extends Output<T>>
intTreeModel.computeDepth
(int initialDepth, Node<T> root) -
Uses of Node in org.tribuo.regression.rtree
Modifier and TypeMethodDescriptionIndependentRegressionTreeModel.getRoot()
Returns null, as this model contains multiple roots, one per regression output dimension. -
Uses of Node in org.tribuo.regression.rtree.impl
Modifier and TypeClassDescriptionclass
A decision tree node used at training time.class
A decision tree node used at training time.Modifier and TypeMethodDescriptionJointRegressorTrainingNode.convertTree()
RegressorTrainingNode.convertTree()