public abstract class Node
extends Object
implements scala.Serializable
| Constructor and Description | 
|---|
Node()  | 
| Modifier and Type | Method and Description | 
|---|---|
static Node | 
fromOld(Node oldNode,
       scala.collection.immutable.Map<Object,Object> categoricalFeatures)
Create a new Node from the old Node format, recursively creating child nodes as needed. 
 | 
abstract double | 
impurity()
Impurity measure at this node (for training data) 
 | 
abstract double | 
prediction()
Prediction a leaf node makes, or which an internal node would make if it were a leaf node 
 | 
public static Node fromOld(Node oldNode, scala.collection.immutable.Map<Object,Object> categoricalFeatures)
oldNode - (undocumented)categoricalFeatures - (undocumented)public abstract double prediction()
public abstract double impurity()