public class CompressedTree
extends water.Keyed
| Constructor and Description |
|---|
CompressedTree(byte[] bits,
int nclass,
long seed,
int tid,
int cls) |
| Modifier and Type | Method and Description |
|---|---|
protected long |
checksum_impl() |
java.lang.String |
getDecisionPath(double[] row) |
static water.Key<CompressedTree> |
makeTreeKey(int treeId,
int clazz) |
java.util.Random |
rngForChunk(int cidx) |
double |
score(double[] row)
Highly efficient (critical path) tree scoring
WARNING: If you making any changes to this code, you should synchronize them with the class
`hex.genmodel.algos.DrfRawModel` in package `h2o_genmodel`.
|
double |
score(double[] row,
boolean computeLeafAssignment) |
java.lang.String |
toString(SharedTreeModel.SharedTreeOutput tm) |
checksum, makeSchema, readAll_impl, readAll, remove_impl, remove, remove, remove, remove, writeAll_impl, writeAllpublic CompressedTree(byte[] bits,
int nclass,
long seed,
int tid,
int cls)
public double score(double[] row)
public double score(double[] row,
boolean computeLeafAssignment)
public java.lang.String getDecisionPath(double[] row)
public java.util.Random rngForChunk(int cidx)
protected long checksum_impl()
checksum_impl in class water.Keyedpublic java.lang.String toString(SharedTreeModel.SharedTreeOutput tm)
public static water.Key<CompressedTree> makeTreeKey(int treeId, int clazz)