public static class DispersionTask.ComputeMaxSumSeriesTsk extends water.MRTask<DispersionTask.ComputeMaxSumSeriesTsk>
Modifier and Type | Class and Description |
---|---|
static interface |
DispersionTask.ComputeMaxSumSeriesTsk.CalWVdWVd2WV
This interface is used to calculate one item of the series in log.
|
static class |
DispersionTask.ComputeMaxSumSeriesTsk.EvalLogD2WVEnv |
static class |
DispersionTask.ComputeMaxSumSeriesTsk.EvalLogDWVEnv |
static class |
DispersionTask.ComputeMaxSumSeriesTsk.EvalLogWVEnv |
Constructor and Description |
---|
ComputeMaxSumSeriesTsk(TweedieMLDispersionOnly tdispersion,
GLMModel.GLMParameters parms,
boolean calALL) |
Modifier and Type | Method and Description |
---|---|
double |
calLogWVMax(water.fvec.Chunk[] chks,
int rowInd,
int indexMax,
double logZ) |
double |
calLogZ(water.fvec.Chunk[] chks,
int rInd,
int zConstCol) |
int |
estimateLowerBound(int jOrkMax,
double logWorVmax,
double logZ,
DispersionTask.ComputeMaxSumSeriesTsk.CalWVdWVd2WV cVal) |
int |
estimateUpperBound(int jOrkMax,
double logWorVmax,
double logZ,
int wvIndex,
DispersionTask.ComputeMaxSumSeriesTsk.CalWVdWVd2WV cVal) |
double |
evalD2lldPhi2(water.fvec.Chunk[] chks,
int rowInd,
double sumDWVj,
double sumD2WVj,
double oneOverSumWVj,
java.util.Map<DispersionTask.ConstColNames,java.lang.Integer> constColName2Ind) |
double |
evalDlldPhi(water.fvec.Chunk[] chks,
int rowInd,
double sumDWVj,
double oneOverSumWVj,
java.util.Map<DispersionTask.ConstColNames,java.lang.Integer> constColName2Ind) |
double |
evalLogLikelihood(water.fvec.Chunk[] chks,
int rowInd,
double sumWV,
java.util.Map<DispersionTask.ConstColNames,java.lang.Integer> constColName2Ind) |
int |
findMaxTermIndex(water.fvec.Chunk[] chks,
int rowInd,
int colInd) |
void |
map(water.fvec.Chunk[] chks) |
void |
postGlobal() |
void |
reduce(DispersionTask.ComputeMaxSumSeriesTsk other) |
static void |
setConstIndices(java.util.Map<DispersionTask.ConstColNames,java.lang.Integer> constColName2Ind,
int offset) |
void |
setDebugValues(int rInd,
int jkIndMax,
double logZ,
double wvMax,
double dwvMax,
double d2wvMax,
int jKL,
int jKU,
int djKL,
int djKU,
int d2jKL,
int d2jKU,
double sumWV,
double sumDWV,
double sumD2WV,
double ll,
double dll,
double d2ll,
water.fvec.Chunk[] chks,
java.util.Map<DispersionTask.InfoColNames,java.lang.Integer> infoColName2Ind,
double response) |
static void |
setInfoIndices(java.util.Map<DispersionTask.InfoColNames,java.lang.Integer> infoColName2Ind,
int constOffset,
boolean weightPresent) |
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, profile, profString, self, setupLocal, 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
public ComputeMaxSumSeriesTsk(TweedieMLDispersionOnly tdispersion, GLMModel.GLMParameters parms, boolean calALL)
public static void setInfoIndices(java.util.Map<DispersionTask.InfoColNames,java.lang.Integer> infoColName2Ind, int constOffset, boolean weightPresent)
public static void setConstIndices(java.util.Map<DispersionTask.ConstColNames,java.lang.Integer> constColName2Ind, int offset)
public void map(water.fvec.Chunk[] chks)
map
in class water.MRTask<DispersionTask.ComputeMaxSumSeriesTsk>
public void setDebugValues(int rInd, int jkIndMax, double logZ, double wvMax, double dwvMax, double d2wvMax, int jKL, int jKU, int djKL, int djKU, int d2jKL, int d2jKU, double sumWV, double sumDWV, double sumD2WV, double ll, double dll, double d2ll, water.fvec.Chunk[] chks, java.util.Map<DispersionTask.InfoColNames,java.lang.Integer> infoColName2Ind, double response)
public void reduce(DispersionTask.ComputeMaxSumSeriesTsk other)
reduce
in class water.MRTask<DispersionTask.ComputeMaxSumSeriesTsk>
public void postGlobal()
postGlobal
in class water.MRTask<DispersionTask.ComputeMaxSumSeriesTsk>
public int estimateLowerBound(int jOrkMax, double logWorVmax, double logZ, DispersionTask.ComputeMaxSumSeriesTsk.CalWVdWVd2WV cVal)
public int estimateUpperBound(int jOrkMax, double logWorVmax, double logZ, int wvIndex, DispersionTask.ComputeMaxSumSeriesTsk.CalWVdWVd2WV cVal)
public int findMaxTermIndex(water.fvec.Chunk[] chks, int rowInd, int colInd)
public double calLogZ(water.fvec.Chunk[] chks, int rInd, int zConstCol)
public double calLogWVMax(water.fvec.Chunk[] chks, int rowInd, int indexMax, double logZ)
public double evalDlldPhi(water.fvec.Chunk[] chks, int rowInd, double sumDWVj, double oneOverSumWVj, java.util.Map<DispersionTask.ConstColNames,java.lang.Integer> constColName2Ind)
public double evalD2lldPhi2(water.fvec.Chunk[] chks, int rowInd, double sumDWVj, double sumD2WVj, double oneOverSumWVj, java.util.Map<DispersionTask.ConstColNames,java.lang.Integer> constColName2Ind)
public double evalLogLikelihood(water.fvec.Chunk[] chks, int rowInd, double sumWV, java.util.Map<DispersionTask.ConstColNames,java.lang.Integer> constColName2Ind)