public class CompressedDT extends water.Keyed<CompressedDT>
| Constructor and Description |
|---|
CompressedDT(double[][] nodes) |
| Modifier and Type | Method and Description |
|---|---|
void |
extractRulesStartingWithNode(int nodeIndex,
java.lang.String actualRule) |
java.util.List<java.lang.String> |
getListOfRules() |
double[][] |
getNodes() |
DTPrediction |
predictRowStartingFromNode(double[] rowValues,
int actualNodeIndex,
java.lang.String ruleExplanation)
Makes prediction by recursively evaluating the data through the tree.
|
java.lang.String |
toString() |
checksum_impl, checksum_impl, checksum, checksum, getKey, makeSchema, readAll_impl, readAll, remove_impl, remove_impl, remove_self_key_impl, remove, remove, remove, remove, remove, remove, removeQuietly, writeAll_impl, writeAllpublic DTPrediction predictRowStartingFromNode(double[] rowValues, int actualNodeIndex, java.lang.String ruleExplanation)
rowValues - - data row to find prediction foractualNodeIndex - - actual node to evaluate and then go to selected childpublic java.lang.String toString()
toString in class java.lang.Objectpublic void extractRulesStartingWithNode(int nodeIndex,
java.lang.String actualRule)
public java.util.List<java.lang.String> getListOfRules()
public double[][] getNodes()