public static class NaiveBayes.NBTask extends MRTask2<NaiveBayes.NBTask>
DTask.DKeyTask<T extends DTask.DKeyTask,V extends Iced>| Modifier and Type | Field and Description |
|---|---|
protected FrameTask.DataInfo |
_dinfo |
double[][][] |
_jntcnt |
int |
_nobs |
double[] |
_rescnt |
| Constructor and Description |
|---|
NaiveBayes.NBTask(Job job,
FrameTask.DataInfo dinfo) |
| Modifier and Type | Method and Description |
|---|---|
void |
map(Chunk[] chks)
Override with your map implementation.
|
void |
reduce(NaiveBayes.NBTask nt)
Override to combine results from 'mrt' into 'this' MRTask2.
|
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, onCompletion, onExceptionalCompletion, outputFrame, outputFrame, outputFrame, postGlobal, priority, profString, reduce4, setupLocal, 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 FrameTask.DataInfo _dinfo
public int _nobs
public double[] _rescnt
public double[][][] _jntcnt
public NaiveBayes.NBTask(Job job, FrameTask.DataInfo dinfo)
public void map(Chunk[] chks)
MRTask2map in class MRTask2<NaiveBayes.NBTask>public void reduce(NaiveBayes.NBTask nt)
MRTask2reduce in class MRTask2<NaiveBayes.NBTask>