public abstract class DTreeScorer<T extends DTreeScorer<T>> extends MRTask2<T>
DTask.DKeyTask<T extends DTask.DKeyTask,V extends Iced>| Modifier and Type | Field and Description |
|---|---|
protected int |
_nclass |
protected int |
_ncols |
protected Key[][] |
_treeKeys |
protected DTree.TreeModel.CompressedTree[][] |
_trees |
| Constructor and Description |
|---|
DTreeScorer(int ncols,
int nclass,
Key[][] treeKeys) |
| Modifier and Type | Method and Description |
|---|---|
protected Chunk |
chk_oobt(Chunk[] chks) |
protected Chunk |
chk_resp(Chunk[] chks) |
protected Chunk |
chk_tree(Chunk[] chks,
int c) |
protected void |
score0(double[] data,
float[] preds,
DTree.TreeModel.CompressedTree[] ts) |
protected void |
setupLocal()
Override to do any remote initialization on the 1st remote instance of
this object, for initializing node-local shared data structures.
|
asyncExec, asyncExec, asyncExec, block, clone, closeLocal, compute2, dfork, dfork, dfork, dfork, dinvoke, doAll, doAll, doAll, doAll, doAll, doAll, exec, exec, exec, getResult, isReleasable, map, map, map, map, map, map, map, map, map, map, map, map, onCompletion, onExceptionalCompletion, outputFrame, outputFrame, outputFrame, postGlobal, priority, profString, reduce, reduce4, vecscopyOver, frozenType, getDException, hasException, logVerbose, newInstance, onAck, onAckAck, read, setException, toDocField, write, writeJSONFieldscomputeaddToPendingCount, 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, tryUnforkprotected final int _ncols
protected final int _nclass
protected final Key[][] _treeKeys
protected transient DTree.TreeModel.CompressedTree[][] _trees
public DTreeScorer(int ncols,
int nclass,
Key[][] treeKeys)
protected final void setupLocal()
MRTask2setupLocal in class MRTask2<T extends DTreeScorer<T>>protected void score0(double[] data,
float[] preds,
DTree.TreeModel.CompressedTree[] ts)