public static class FrameUtils.WeightedMean extends MRTask<FrameUtils.WeightedMean>
DTask.DKeyTask<T extends DTask.DKeyTask,V extends Keyed>, DTask.RemoveCall
Constructor and Description |
---|
FrameUtils.WeightedMean() |
Modifier and Type | Method and Description |
---|---|
void |
map(Chunk response,
Chunk weight,
Chunk offset)
Override with your map implementation.
|
void |
reduce(FrameUtils.WeightedMean mrt)
Override to combine results from 'mrt' into 'this' MRTask.
|
double |
weightedMean() |
appendables, asyncExecOnAllNodes, block, closeLocal, compute2, dfork, dfork, dfork, dfork, dfork, dinvoke, doAll, doAll, doAll, doAll, doAll, doAll, doAll, doAll, doAll, doAll, doAll, doAll, doAllNodes, getResult, getResult, isReleasable, map, map, map, map, map, map, map, map, onCompletion, onExceptionalCompletion, outputFrame, outputFrame, outputFrame, postGlobal, profile, profString, self, setupLocal
copyOver, getDException, hasException, logVerbose, onAck, onAckAck, setException
asBytes, clone, compute, compute1, currThrPriority, frozenType, icer, priority, read, readJSON, reloadFromBytes, write, writeJSON
__tryComplete, addToPendingCount, compareAndSetPendingCount, complete, exec, getCompleter, getPendingCount, getRawResult, setCompleter, setPendingCount, setRawResult, tryComplete
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
public double weightedMean()
public void map(Chunk response, Chunk weight, Chunk offset)
MRTask
map
in class MRTask<FrameUtils.WeightedMean>
public void reduce(FrameUtils.WeightedMean mrt)
MRTask
reduce
in class MRTask<FrameUtils.WeightedMean>