public static class DTree.Split
extends water.Iced
Constructor and Description |
---|
Split(int col,
int bin,
DHistogram.NASplitDir nasplit,
water.util.IcedBitSet bs,
byte equal,
double se,
double se0,
double se1,
double n0,
double n1,
double p0,
double p1,
double tree_p0,
double tree_p1) |
Split(int col,
int bin,
DHistogram.NASplitDir nasplit,
water.util.IcedBitSet bs,
byte equal,
double se,
double se0,
double se1,
double n0,
double n1,
double p0,
double p1,
double tree_p0,
double tree_p1,
double p0Treat,
double p0Contr,
double p1Treat,
double p1Contr,
double n0Treat,
double n0Contr,
double n1Treat,
double n1Contr,
double upliftGainBefore,
double upliftGain) |
Modifier and Type | Method and Description |
---|---|
int |
bin() |
int |
col() |
double |
n0() |
double |
n1() |
DHistogram.NASplitDir |
naSplitDir() |
Constraints |
nextLevelConstraints(Constraints currentConstraints,
int way,
double splat,
SharedTreeModel.SharedTreeParameters parms) |
DHistogram[] |
nextLevelHistos(DHistogram[] currentHistos,
int way,
double splat,
SharedTreeModel.SharedTreeParameters parms,
Constraints cs,
BranchInteractionConstraints bcs)
Prepare children histograms, one per column.
|
double |
pre_split_se() |
double |
preSplitUpliftGain() |
double |
se() |
java.lang.String |
toString() |
double |
upliftGain() |
public Split(int col, int bin, DHistogram.NASplitDir nasplit, water.util.IcedBitSet bs, byte equal, double se, double se0, double se1, double n0, double n1, double p0, double p1, double tree_p0, double tree_p1)
public Split(int col, int bin, DHistogram.NASplitDir nasplit, water.util.IcedBitSet bs, byte equal, double se, double se0, double se1, double n0, double n1, double p0, double p1, double tree_p0, double tree_p1, double p0Treat, double p0Contr, double p1Treat, double p1Contr, double n0Treat, double n0Contr, double n1Treat, double n1Contr, double upliftGainBefore, double upliftGain)
public final double pre_split_se()
public final double se()
public final double preSplitUpliftGain()
public final double upliftGain()
public final int col()
public final int bin()
public final DHistogram.NASplitDir naSplitDir()
public final double n0()
public final double n1()
public DHistogram[] nextLevelHistos(DHistogram[] currentHistos, int way, double splat, SharedTreeModel.SharedTreeParameters parms, Constraints cs, BranchInteractionConstraints bcs)
currentHistos
- Histograms for all applicable columns computed for the previous split finding processway
- 0 (left) or 1 (right)splat
- Split point for previous split (if applicable)parms
- user-given parameters (will use nbins, min_rows, etc.)public Constraints nextLevelConstraints(Constraints currentConstraints, int way, double splat, SharedTreeModel.SharedTreeParameters parms)
public java.lang.String toString()
toString
in class java.lang.Object