public class InternalNode extends Node
Modifier and Type | Method and Description |
---|---|
double |
gain() |
double |
impurity()
Impurity measure at this node (for training data)
|
Node |
leftChild() |
double |
prediction()
Prediction a leaf node makes, or which an internal node would make if it were a leaf node
|
Node |
rightChild() |
Split |
split() |
static int |
subtreeToString$default$1() |
String |
toString() |
public static int subtreeToString$default$1()
public double prediction()
Node
prediction
in class Node
public double impurity()
Node
public double gain()
public Node leftChild()
public Node rightChild()
public Split split()
public String toString()
toString
in class Object