public class SharedTreeNode
extends java.lang.Object
implements ai.h2o.algos.tree.INode<double[]>, ai.h2o.algos.tree.INodeStat
Modifier and Type | Field and Description |
---|---|
SharedTreeNode |
rightChild |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
static java.lang.String |
escapeQuotes(java.lang.String s) |
GenmodelBitSet |
getBs() |
int |
getColId() |
java.lang.String |
getColName() |
java.lang.String |
getDebugId() |
int |
getDepth() |
java.lang.String[] |
getDomainValues() |
float |
getGain(boolean useSquaredErrorForGain) |
java.util.BitSet |
getInclusiveLevels() |
boolean |
getInclusiveNa() |
float |
getLeafValue() |
SharedTreeNode |
getLeftChild() |
int |
getLeftChildIndex() |
java.lang.String |
getName() |
int |
getNodeNumber() |
SharedTreeNode |
getParent() |
float |
getPredValue() |
java.lang.String |
getPrintString(java.lang.String description) |
SharedTreeNode |
getRightChild() |
int |
getRightChildIndex() |
int |
getSplitIndex() |
float |
getSplitValue() |
float |
getSquaredError() |
int |
getSubgraphNumber() |
float |
getWeight() |
int |
hashCode() |
boolean |
isBitset() |
boolean |
isInclusiveNa() |
boolean |
isLeaf() |
boolean |
isLeftward() |
boolean |
isNaVsRest() |
int |
next(double[] value) |
void |
print() |
void |
print(java.io.PrintStream out,
java.lang.String description) |
void |
setCol(int v1,
java.lang.String v2) |
void |
setColName(java.lang.String colName) |
void |
setDomainValues(java.lang.String[] domainValues) |
void |
setGain(float gain) |
void |
setInclusiveNa(boolean v) |
void |
setLeftward(boolean v) |
void |
setNodeNumber(int id) |
void |
setPredValue(float v) |
void |
setSplitValue(float v) |
void |
setSquaredError(float v) |
void |
setWeight(float w) |
java.util.Map<java.lang.String,java.lang.Object> |
toJson() |
public SharedTreeNode rightChild
public int getDepth()
public int getNodeNumber()
public float getWeight()
getWeight
in interface ai.h2o.algos.tree.INodeStat
public void setNodeNumber(int id)
public void setWeight(float w)
public void setCol(int v1, java.lang.String v2)
public int getColId()
public void setLeftward(boolean v)
public void setSplitValue(float v)
public void setColName(java.lang.String colName)
public void setPredValue(float v)
public void setSquaredError(float v)
public void setInclusiveNa(boolean v)
public boolean getInclusiveNa()
public java.util.BitSet getInclusiveLevels()
public java.lang.String getName()
public void print()
public void print(java.io.PrintStream out, java.lang.String description)
public java.lang.String getPrintString(java.lang.String description)
public boolean isBitset()
public static java.lang.String escapeQuotes(java.lang.String s)
public java.util.Map<java.lang.String,java.lang.Object> toJson()
public SharedTreeNode getParent()
public int getSubgraphNumber()
public java.lang.String getColName()
public boolean isLeftward()
public boolean isNaVsRest()
public float getSplitValue()
public java.lang.String[] getDomainValues()
public void setDomainValues(java.lang.String[] domainValues)
public GenmodelBitSet getBs()
public float getPredValue()
public float getSquaredError()
public SharedTreeNode getLeftChild()
public SharedTreeNode getRightChild()
public boolean isInclusiveNa()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public final boolean isLeaf()
isLeaf
in interface ai.h2o.algos.tree.INode<double[]>
public final float getLeafValue()
getLeafValue
in interface ai.h2o.algos.tree.INode<double[]>
public final int getSplitIndex()
getSplitIndex
in interface ai.h2o.algos.tree.INode<double[]>
public final int next(double[] value)
next
in interface ai.h2o.algos.tree.INode<double[]>
public final int getLeftChildIndex()
getLeftChildIndex
in interface ai.h2o.algos.tree.INode<double[]>
public final int getRightChildIndex()
getRightChildIndex
in interface ai.h2o.algos.tree.INode<double[]>
public float getGain(boolean useSquaredErrorForGain)
public void setGain(float gain)
public java.lang.String getDebugId()