|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjsr166y.ForkJoinTask<java.lang.Void>
jsr166y.CountedCompleter
water.H2O.H2OCountedCompleter
water.DTask
water.MRTask2<TreeVotes>
hex.drf.TreeVotes
public class TreeVotes
Score given tree model and preserve errors per tree. This is different from Model.score() function since the MR task uses inverse loop: first over all trees and over all rows in chunk.
| Field Summary |
|---|
| Fields inherited from class water.MRTask2 |
|---|
_appendables, _fr, _fs, _hi, _left, _lo, _nleft, _nodes, _nrite, _rite, _topLocal |
| Fields inherited from class water.DTask |
|---|
_cls, _eFromNode, _exception, _fname, _lineNum, _msg, _mth |
| Method Summary | |
|---|---|
double[] |
accuracy()
Returns accuracy per individual trees. |
void |
map(Chunk[] chks)
Override with your map implementation. |
long[] |
nrows()
Returns number of rows which were used during voting per individual tree. |
void |
reduce(TreeVotes t)
Override to combine results from 'mrt' into 'this' MRTask2. |
long[] |
treeCVotes()
Returns number of positive votes per tree. |
static TreeVotes |
varimp(DTree.TreeModel tmodel,
Frame f,
float rate)
|
| Methods inherited from class water.MRTask2 |
|---|
clone, closeLocal, compute2, dfork, dfork, dfork, dfork, dinvoke, doAll, doAll, doAll, doAll, getResult, map, map, map, map, map, map, map, map, map, map, map, onCompletion, onExceptionalCompletion, outputFrame, outputFrame, postGlobal, profString, reduce4, setupLocal, vecs |
| Methods inherited from class water.DTask |
|---|
copyOver, frozenType, getDException, hasException, logVerbose, newInstance, onAck, onAckAck, read, setException, toDocField, write, writeJSONFields |
| Methods inherited from class water.H2O.H2OCountedCompleter |
|---|
compute, priority |
| Methods inherited from class jsr166y.CountedCompleter |
|---|
addToPendingCount, compareAndSetPendingCount, complete, exec, getCompleter, getPendingCount, getRawResult, setCompleter, setPendingCount, setRawResult, tryComplete |
| Methods inherited from class jsr166y.ForkJoinTask |
|---|
adapt, adapt, adapt, cancel, compareAndSetForkJoinTaskTag, completeExceptionally, fork, get, get, getException, getForkJoinTaskTag, getPool, getQueuedTaskCount, getSurplusQueuedTaskCount, helpQuiesce, inForkJoinPool, invoke, invokeAll, invokeAll, invokeAll, isCancelled, isCompletedAbnormally, isCompletedNormally, isDone, join, peekNextLocalTask, pollNextLocalTask, pollTask, quietlyComplete, quietlyInvoke, quietlyJoin, reinitialize, setForkJoinTaskTag, tryUnfork |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public final long[] nrows()
public final long[] treeCVotes()
public final double[] accuracy()
public void map(Chunk[] chks)
MRTask2
map in class MRTask2<TreeVotes>public void reduce(TreeVotes t)
MRTask2
reduce in class MRTask2<TreeVotes>
public static TreeVotes varimp(DTree.TreeModel tmodel,
Frame f,
float rate)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||