public static class TreeMeasuresCollector.TreeSSE extends TreeMeasuresCollector.TreeMeasures<TreeMeasuresCollector.TreeSSE>
_nrows, _ntrees
Constructor and Description |
---|
TreeMeasuresCollector.TreeSSE(float[] sse,
double[] nrows,
int ntrees) |
TreeMeasuresCollector.TreeSSE(int initialCapacity) |
Modifier and Type | Method and Description |
---|---|
double |
accuracy(int tidx)
Returns a list of accuracies per tree.
|
TreeMeasuresCollector.TreeSSE |
append(float sse,
double allRows)
Append a tree sse to a list of trees.
|
TreeMeasuresCollector.TreeSSE |
append(TreeMeasuresCollector.TreeSSE t) |
double[] |
imp(TreeMeasuresCollector.TreeSSE right)
Compute variable importance with respect to given votes.
|
accuracy, npredictors, nrows
public TreeMeasuresCollector.TreeSSE(int initialCapacity)
public TreeMeasuresCollector.TreeSSE(float[] sse, double[] nrows, int ntrees)
public double accuracy(int tidx)
TreeMeasuresCollector.TreeMeasures
accuracy
in class TreeMeasuresCollector.TreeMeasures<TreeMeasuresCollector.TreeSSE>
public double[] imp(TreeMeasuresCollector.TreeSSE right)
TreeMeasuresCollector.TreeMeasures
T
object represents correct votes.
This object represents votes over shuffled data.imp
in class TreeMeasuresCollector.TreeMeasures<TreeMeasuresCollector.TreeSSE>
right
- individual tree measurements performed over not shuffled data.public TreeMeasuresCollector.TreeSSE append(TreeMeasuresCollector.TreeSSE t)
append
in class TreeMeasuresCollector.TreeMeasures<TreeMeasuresCollector.TreeSSE>
public TreeMeasuresCollector.TreeSSE append(float sse, double allRows)