public class PredictTreeSHAPTask extends water.MRTask<PredictTreeSHAPTask>
| Modifier and Type | Field and Description |
|---|---|
protected hex.DataInfo |
_di |
protected XGBoostModelInfo |
_modelInfo |
protected hex.genmodel.algos.xgboost.XGBoostJavaMojoModel |
_mojo |
protected XGBoostOutput |
_output |
protected boolean |
_outputAggregated |
| Constructor and Description |
|---|
PredictTreeSHAPTask(hex.DataInfo di,
XGBoostModelInfo modelInfo,
XGBoostOutput output,
hex.Model.Contributions.ContributionsOptions options) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addContribToNewChunk(float[] contribs,
water.fvec.NewChunk[] nc) |
protected void |
fillInput(water.fvec.Chunk[] chks,
int row,
double[] input,
float[] contribs) |
protected void |
handleOutputFormat(MutableOneHotEncoderFVec rowFVec,
float[] contribs,
float[] output) |
void |
map(water.fvec.Chunk[] chks,
water.fvec.NewChunk[] nc) |
protected void |
setupLocal() |
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, withPostMapActioncopyOver, getDException, hasException, logVerbose, onAck, onAckAck, setExceptionasBytes, clone, compute, compute1, currThrPriority, frozenType, icer, priority, read, readJSON, reloadFromBytes, write, writeJSON__tryComplete, addToPendingCount, compareAndSetPendingCount, complete, exec, getCompleter, getPendingCount, getRawResult, setCompleter, setPendingCount, setRawResult, tryCompleteadapt, 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, tryUnforkprotected final hex.DataInfo _di
protected final XGBoostModelInfo _modelInfo
protected final XGBoostOutput _output
protected final boolean _outputAggregated
protected transient hex.genmodel.algos.xgboost.XGBoostJavaMojoModel _mojo
public PredictTreeSHAPTask(hex.DataInfo di,
XGBoostModelInfo modelInfo,
XGBoostOutput output,
hex.Model.Contributions.ContributionsOptions options)
protected void setupLocal()
setupLocal in class water.MRTask<PredictTreeSHAPTask>protected void fillInput(water.fvec.Chunk[] chks,
int row,
double[] input,
float[] contribs)
public void map(water.fvec.Chunk[] chks,
water.fvec.NewChunk[] nc)
map in class water.MRTask<PredictTreeSHAPTask>protected void handleOutputFormat(MutableOneHotEncoderFVec rowFVec, float[] contribs, float[] output)
protected void addContribToNewChunk(float[] contribs,
water.fvec.NewChunk[] nc)