public class LeafNode extends Node
| Modifier and Type | Method and Description |
|---|---|
double |
impurity()
Impurity measure at this node (for training data)
|
double |
prediction()
Prediction a leaf node makes, or which an internal node would make if it were a leaf node
|
String |
toString() |
public double impurity()
Nodepublic double prediction()
Nodeprediction in class Nodepublic String toString()
toString in class Object