public static class DTree.DecidedNode extends DTree.Node
| Modifier and Type | Class and Description |
|---|---|
class |
DTree.DecidedNode.FindSplits |
| Modifier and Type | Field and Description |
|---|---|
int[] |
_nids |
float |
_splat |
DTree.Split |
_split |
_nid, _pid, _tree| Constructor and Description |
|---|
DecidedNode(DTree.DecidedNode node,
DTree tree) |
DecidedNode(DTree.UndecidedNode n,
DHistogram[] hs,
Constraints cs,
GlobalInteractionConstraints ics) |
| Modifier and Type | Method and Description |
|---|---|
DTree.Split |
bestCol(DTree.UndecidedNode u,
DHistogram[] hs,
Constraints cs) |
water.AutoBuffer |
compress(water.AutoBuffer ab,
water.AutoBuffer abAux) |
int |
getChildNodeID(water.fvec.Chunk[] chks,
int row) |
DTree.UndecidedNode |
makeUndecidedNode(DHistogram[] hs,
Constraints cs,
BranchInteractionConstraints bics) |
protected int |
numNodes() |
double |
parentPred() |
double |
pred(int nid) |
double |
predControl(int nid) |
double |
predTreatment(int nid) |
int |
size() |
java.lang.String |
toString() |
java.lang.StringBuilder |
toString2(java.lang.StringBuilder sb,
int depth) |
nid, pidpublic final DTree.Split _split
public final float _splat
public final int[] _nids
public DecidedNode(DTree.DecidedNode node, DTree tree)
public DecidedNode(DTree.UndecidedNode n, DHistogram[] hs, Constraints cs, GlobalInteractionConstraints ics)
public DTree.UndecidedNode makeUndecidedNode(DHistogram[] hs, Constraints cs, BranchInteractionConstraints bics)
public DTree.Split bestCol(DTree.UndecidedNode u, DHistogram[] hs, Constraints cs)
public int getChildNodeID(water.fvec.Chunk[] chks,
int row)
public double pred(int nid)
public double predTreatment(int nid)
public double predControl(int nid)
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.StringBuilder toString2(java.lang.StringBuilder sb,
int depth)
toString2 in class DTree.Nodepublic final int size()
size in class DTree.Nodeprotected int numNodes()
numNodes in class DTree.Nodepublic water.AutoBuffer compress(water.AutoBuffer ab,
water.AutoBuffer abAux)
compress in class DTree.Nodepublic double parentPred()