public class TreeVotesCollector extends MRTask2<TreeVotesCollector>
| Modifier and Type | Class and Description |
|---|---|
static class |
TreeVotesCollector.TreeVotes |
_appendables, _fr, _fs, _hi, _left, _lo, _nleft, _nodes, _nrite, _rite, _topLocal_cls, _eFromNode, _exception, _fname, _lineNum, _msg, _mth| Modifier and Type | Method and Description |
|---|---|
static TreeVotesCollector.TreeVotes |
collect(DTree.TreeModel.CompressedTree[] tree,
int nclasses,
Frame f,
int ncols,
float rate,
int variable) |
static TreeVotesCollector.TreeVotes |
collect(DTree.TreeModel tmodel,
Frame f,
int ncols,
float rate,
int variable) |
void |
map(Chunk[] chks)
Override with your map implementation.
|
void |
reduce(TreeVotesCollector t)
Override to combine results from 'mrt' into 'this' MRTask2.
|
TreeVotesCollector.TreeVotes |
result() |
block, clone, closeLocal, compute2, dfork, dfork, dfork, dfork, dinvoke, doAll, doAll, doAll, doAll, doAll, doAll, getResult, isReleasable, map, map, map, map, map, map, map, map, map, map, map, onCompletion, onExceptionalCompletion, outputFrame, outputFrame, outputFrame, postGlobal, profString, reduce4, setupLocal, vecscopyOver, frozenType, getDException, hasException, logVerbose, newInstance, onAck, onAckAck, read, setException, toDocField, write, writeJSONFieldscompute, priorityaddToPendingCount, compareAndSetPendingCount, complete, exec, getCompleter, getPendingCount, getRawResult, setCompleter, setPendingCount, setRawResult, tryCompleteadapt, 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, tryUnforkpublic void map(Chunk[] chks)
MRTask2map in class MRTask2<TreeVotesCollector>public void reduce(TreeVotesCollector t)
MRTask2reduce in class MRTask2<TreeVotesCollector>public TreeVotesCollector.TreeVotes result()
public static TreeVotesCollector.TreeVotes collect(DTree.TreeModel tmodel, Frame f, int ncols, float rate, int variable)
tmodel - f - input frame (should be already adapted to a model) - ncols-features + responsencols - number of featuresrate - variable - public static TreeVotesCollector.TreeVotes collect(DTree.TreeModel.CompressedTree[] tree, int nclasses, Frame f, int ncols, float rate, int variable)