public class DTreeUtils
extends java.lang.Object
Constructor and Description |
---|
DTreeUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
scoreTree(double[] data,
float[] preds,
DTree.TreeModel.CompressedTree[] ts)
Score given tree on the row of data.
|
public static void scoreTree(double[] data, float[] preds, DTree.TreeModel.CompressedTree[] ts)
data
- row of datapreds
- array to hold resulting predictionts
- a tree representation (single regression tree, or multi tree)