public abstract static class DTree.DecidedNode extends DTree.Node
| Modifier and Type | Field and Description |
|---|---|
int[] |
_nids |
float |
_splat |
DTree.Split |
_split |
_nid, _pid, _tree| Constructor and Description |
|---|
DTree.DecidedNode(DTree.UndecidedNode n,
DHistogram[] hs) |
| Modifier and Type | Method and Description |
|---|---|
abstract DTree.Split |
bestCol(DTree.UndecidedNode u,
DHistogram[] hs) |
int |
bin(Chunk[] chks,
int row) |
AutoBuffer |
compress(AutoBuffer ab) |
abstract DTree.UndecidedNode |
makeUndecidedNode(DHistogram[] hs) |
int |
ns(Chunk[] chks,
int row) |
double |
pred(int nid) |
int |
size() |
String |
toString() |
StringBuilder |
toString2(StringBuilder sb,
int depth) |
nid, pidclone, frozenType, init, newInstance, read, toDocField, write, writeJSON, writeJSONFieldspublic final DTree.Split _split
public final float _splat
public final int[] _nids
public DTree.DecidedNode(DTree.UndecidedNode n, DHistogram[] hs)
public abstract DTree.UndecidedNode makeUndecidedNode(DHistogram[] hs)
public abstract DTree.Split bestCol(DTree.UndecidedNode u, DHistogram[] hs)
public int bin(Chunk[] chks, int row)
public int ns(Chunk[] chks, int row)
public double pred(int nid)
public StringBuilder toString2(StringBuilder sb, int depth)
toString2 in class DTree.Nodepublic final int size()
size in class DTree.Nodepublic AutoBuffer compress(AutoBuffer ab)
compress in class DTree.NodeCopyright © 2013–2014 0xdata. All rights reserved.