public interface Node<T extends Output<T>> extends Serializable
Modifier and Type | Method and Description |
---|---|
Node<T> |
copy()
Copies the node and it's children.
|
double |
getImpurity()
The impurity score of this node.
|
Node<T> |
getNextNode(SparseVector example)
Returns the next node in the tree based on the supplied example, or null if it's a leaf.
|
boolean |
isLeaf()
Is it a leaf node?
|
boolean isLeaf()
Node<T> getNextNode(SparseVector example)
example
- The example.double getImpurity()
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.