protected static class CoxPH.CoxPHTask extends FrameTask<CoxPH.CoxPHTask>
FrameTask.DataInfoDTask.DKeyTask<T extends DTask.DKeyTask,V extends Iced>| Modifier and Type | Field and Description |
|---|---|
protected long[] |
countEvents |
protected long |
n |
protected long |
n_missing |
protected double[] |
rcumsumRisk |
protected double[][] |
rcumsumXRisk |
protected double[][][] |
rcumsumXXRisk |
protected double[] |
sizeCensored |
protected double[] |
sizeEvents |
protected double[] |
sizeRiskSet |
protected double[] |
sumLogRiskEvents |
protected double[] |
sumRiskEvents |
protected double[] |
sumWeightedCatX |
protected double[] |
sumWeightedNumX |
protected double |
sumWeights |
protected double[][] |
sumXEvents |
protected double[][] |
sumXRiskEvents |
protected double[][][] |
sumXXRiskEvents |
_dinfo, _jobKey, _shuffle, _useFraction| Modifier and Type | Method and Description |
|---|---|
protected void |
chunkInit()
Override this to initialize at the beginning of chunk processing.
|
protected void |
postGlobal() |
protected void |
processRow(long gid,
double[] nums,
int ncats,
int[] cats,
double[] response)
Method to process one row of the data for GLM functions.
|
void |
reduce(CoxPH.CoxPHTask that)
Override to combine results from 'mrt' into 'this' MRTask2.
|
chunkDone, dfork, map, normMul, normRespMul, normRespSub, normSub, processRow, skipMissingasyncExec, asyncExec, asyncExec, block, clone, closeLocal, compute2, 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, 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 long n
protected long n_missing
protected double sumWeights
protected double[] sumWeightedCatX
protected double[] sumWeightedNumX
protected double[] sizeRiskSet
protected double[] sizeCensored
protected double[] sizeEvents
protected long[] countEvents
protected double[][] sumXEvents
protected double[] sumRiskEvents
protected double[][] sumXRiskEvents
protected double[][][] sumXXRiskEvents
protected double[] sumLogRiskEvents
protected double[] rcumsumRisk
protected double[][] rcumsumXRisk
protected double[][][] rcumsumXXRisk
protected void chunkInit()
FrameTaskchunkInit in class FrameTask<CoxPH.CoxPHTask>protected void processRow(long gid,
double[] nums,
int ncats,
int[] cats,
double[] response)
FrameTaskprocessRow in class FrameTask<CoxPH.CoxPHTask>gid - - global id of this row, in [0,_adaptedFrame.numRows())nums - - numeric values of this rowncats - - number of passed (non-zero) categoricalscats - - indexes of categoricals into the expanded beta-vector.response - - numeric value for the responsepublic void reduce(CoxPH.CoxPHTask that)
MRTask2reduce in class MRTask2<CoxPH.CoxPHTask>protected void postGlobal()
postGlobal in class MRTask2<CoxPH.CoxPHTask>