public class SharedTreeModelWithContributions.ScoreContributionsWithBackgroundTask extends ContributionsWithBackgroundFrameTask<SharedTreeModelWithContributions.ScoreContributionsWithBackgroundTask>
Modifier and Type | Field and Description |
---|---|
protected int[] |
_catOffsets |
protected boolean |
_expand |
protected SharedTreeModel |
_model |
protected water.Key<SharedTreeModel> |
_modelKey |
protected SharedTreeModel.SharedTreeOutput |
_output |
protected boolean |
_outputSpace |
protected hex.genmodel.algos.tree.TreeSHAPPredictor<double[]> |
_treeSHAP |
Constructor and Description |
---|
ScoreContributionsWithBackgroundTask(water.Key<water.fvec.Frame> frKey,
water.Key<water.fvec.Frame> backgroundFrameKey,
boolean perReference,
SharedTreeModel model,
boolean expand,
int[] catOffsets,
boolean outputSpace) |
Modifier and Type | Method and Description |
---|---|
protected void |
addContribToNewChunk(double[] contribs,
water.fvec.NewChunk[] nc) |
protected void |
doModelSpecificComputation(double[] contribs) |
protected void |
fillInput(water.fvec.Chunk[] chks,
int row,
double[] input) |
void |
map(water.fvec.Chunk[] cs,
water.fvec.Chunk[] bgCs,
water.fvec.NewChunk[] nc) |
protected void |
setupLocal() |
enoughMinMemory, estimatePerNodeMinimalMemory, estimateRequiredMemory, loadFrames, map, minMemoryPerNode, runAndGetOutput, totalFreeMemory
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, map, map, map, modifiesVolatileVecs, onCompletion, onExceptionalCompletion, outputFrame, outputFrame, outputFrame, postGlobal, profile, profString, reduce, self, withPostMapAction
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, 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
protected final water.Key<SharedTreeModel> _modelKey
protected transient SharedTreeModel _model
protected transient SharedTreeModel.SharedTreeOutput _output
protected transient hex.genmodel.algos.tree.TreeSHAPPredictor<double[]> _treeSHAP
protected boolean _expand
protected boolean _outputSpace
protected int[] _catOffsets
public ScoreContributionsWithBackgroundTask(water.Key<water.fvec.Frame> frKey, water.Key<water.fvec.Frame> backgroundFrameKey, boolean perReference, SharedTreeModel model, boolean expand, int[] catOffsets, boolean outputSpace)
protected void setupLocal()
setupLocal
in class water.MRTask<SharedTreeModelWithContributions.ScoreContributionsWithBackgroundTask>
protected void fillInput(water.fvec.Chunk[] chks, int row, double[] input)
public void map(water.fvec.Chunk[] cs, water.fvec.Chunk[] bgCs, water.fvec.NewChunk[] nc)
protected void doModelSpecificComputation(double[] contribs)
protected void addContribToNewChunk(double[] contribs, water.fvec.NewChunk[] nc)