hex.gbm
Class DTree.DecidedNode<UDN extends DTree.UndecidedNode>

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

public abstract static class DTree.DecidedNode<UDN extends DTree.UndecidedNode>
extends DTree.Node


Field Summary
 int[] _nids
           
 float _splat
           
 DTree.Split _split
           
 
Fields inherited from class hex.gbm.DTree.Node
_nid, _pid, _tree
 
Constructor Summary
DTree.DecidedNode(UDN n)
           
 
Method Summary
abstract  DTree.Split bestCol(UDN udn)
           
 int bin(Chunk[] chks, int row)
           
 AutoBuffer compress(AutoBuffer ab)
           
abstract  UDN makeUndecidedNode(DBinHistogram[] nhists)
           
 int ns(Chunk[] chks, int row)
           
 int size()
           
 java.lang.String toString()
           
 java.lang.StringBuilder toString2(java.lang.StringBuilder sb, int depth)
           
 
Methods inherited from class hex.gbm.DTree.Node
nid, pid
 
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
 

Field Detail

_split

public final DTree.Split _split

_splat

public final float _splat

_nids

public final int[] _nids
Constructor Detail

DTree.DecidedNode

public DTree.DecidedNode(UDN n)
Method Detail

makeUndecidedNode

public abstract UDN makeUndecidedNode(DBinHistogram[] nhists)

bestCol

public abstract DTree.Split bestCol(UDN udn)

bin

public int bin(Chunk[] chks,
               int row)

ns

public int ns(Chunk[] chks,
              int row)

toString

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

toString2

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

size

public final int size()
Specified by:
size in class DTree.Node

compress

public AutoBuffer compress(AutoBuffer ab)
Specified by:
compress in class DTree.Node