hex.gbm
Class DTree.LeafNode

java.lang.Object
  extended by water.Iced
      extended by hex.gbm.DTree.Node
          extended by hex.gbm.DTree.LeafNode
All Implemented Interfaces:
java.lang.Cloneable, Freezable
Enclosing class:
DTree

public abstract static class DTree.LeafNode
extends DTree.Node


Field Summary
 
Fields inherited from class hex.gbm.DTree.Node
_nid, _pid, _tree
 
Constructor Summary
DTree.LeafNode(DTree tree, int pid)
           
DTree.LeafNode(DTree tree, int pid, int nid)
           
 
Method Summary
 double pred()
           
 void pred(double pred)
           
 java.lang.String toString()
           
 java.lang.StringBuilder toString2(java.lang.StringBuilder sb, int depth)
           
 
Methods inherited from class hex.gbm.DTree.Node
compress, nid, pid, size
 
Methods inherited from class water.Iced
clone, frozenType, init, newInstance, read, toDocField, write, writeJSON, writeJSONFields
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DTree.LeafNode

public DTree.LeafNode(DTree tree,
                      int pid)

DTree.LeafNode

public DTree.LeafNode(DTree tree,
                      int pid,
                      int nid)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toString2

public final java.lang.StringBuilder toString2(java.lang.StringBuilder sb,
                                               int depth)
Specified by:
toString2 in class DTree.Node

pred

public final double pred()

pred

public final void pred(double pred)