public static class GLMTask.GLMIterationTask extends GLMTask<GLMTask.GLMIterationTask>
GLMTask.GLMIterationTaskFrameTask.DataInfo| Modifier and Type | Field and Description |
|---|---|
protected GLMParams.CaseMode |
_caseMode |
protected double |
_caseVal |
protected double |
_reg |
_appendables, _fr, _fs, _hi, _left, _lo, _nleft, _nodes, _nrite, _rite, _topLocal_cls, _eFromNode, _exception, _fname, _lineNum, _msg, _mth| Constructor and Description |
|---|
GLMTask.GLMIterationTask(Job job,
FrameTask.DataInfo dinfo,
GLMParams glm,
GLMParams.CaseMode cmode,
double cval,
double[] beta,
int iter,
double ymu,
double reg) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
chunkDone()
Override this to do post-chunk processing work.
|
protected void |
chunkInit()
Override this to initialize at the beginning of chunk processing.
|
void |
processRow(double[] nums,
int ncats,
int[] cats,
double y)
Method to process one row of the data for GLM functions.
|
void |
reduce(GLMTask.GLMIterationTask git)
Override to combine results from 'mrt' into 'this' MRTask2.
|
computeEtadfork, map, normMul, normSub, processRow, processRow, processRowclone, closeLocal, compute2, dfork, dfork, dfork, dinvoke, doAll, doAll, doAll, doAll, getResult, map, map, map, map, map, map, map, map, map, map, map, onCompletion, onExceptionalCompletion, outputFrame, outputFrame, postGlobal, profString, reduce4, setupLocal, vecscopyOver, frozenType, getDException, hasException, logVerbose, newInstance, onAck, onAckAck, read, setException, toDocField, write, writeJSONFieldscompute, priorityaddToPendingCount, 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 final double _reg
protected final GLMParams.CaseMode _caseMode
protected final double _caseVal
public GLMTask.GLMIterationTask(Job job, FrameTask.DataInfo dinfo, GLMParams glm, GLMParams.CaseMode cmode, double cval, double[] beta, int iter, double ymu, double reg)
public final void processRow(double[] nums,
int ncats,
int[] cats,
double y)
FrameTaskprocessRow in class FrameTask<GLMTask.GLMIterationTask>nums - - numeric values of this rowncats - - number of passed (non-zero) categoricalscats - - indexes of categoricals into the expanded beta-vector.y - - numeric value for the responseprotected void chunkInit()
FrameTaskchunkInit in class FrameTask<GLMTask.GLMIterationTask>protected void chunkDone()
FrameTaskchunkDone in class FrameTask<GLMTask.GLMIterationTask>public void reduce(GLMTask.GLMIterationTask git)
MRTask2reduce in class MRTask2<GLMTask.GLMIterationTask>