public static class GLMTask.GLMLineSearchTask extends GLMTask<GLMTask.GLMLineSearchTask>
GLMTask.GLMIterationTask, GLMTask.GLMLineSearchTask, GLMTask.LMIterationTask
FrameTask.DataInfo
_dinfo, _shuffle, _useFraction
_appendables, _fr, _fs, _hi, _left, _lo, _nhi, _nleft, _nrite, _nxx, _rite, _t0, _topLocal
_cls, _eFromNode, _exception, _fname, _lineNum, _msg, _mth
Constructor and Description |
---|
GLMTask.GLMLineSearchTask(Job job,
FrameTask.DataInfo dinfo,
GLMParams glm,
double[] oldBeta,
double[] newBeta,
double minStep,
long nobs,
double alpha,
double lambda,
H2O.H2OCountedCompleter cmp) |
Modifier and Type | Method and Description |
---|---|
void |
chunkDone()
Override this to do post-chunk processing work.
|
void |
chunkInit()
Override this to initialize at the beginning of chunk processing.
|
void |
postGlobal() |
void |
processRow(long gid,
double[] nums,
int ncats,
int[] cats,
double[] responses)
Method to process one row of the data for GLM functions.
|
void |
reduce(GLMTask.GLMLineSearchTask git)
Override to combine results from 'mrt' into 'this' MRTask2.
|
computeEta
dfork, map, normMul, normRespMul, normRespSub, normSub, processRow
asyncExec, 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, vecs
copyOver, frozenType, getDException, hasException, logVerbose, newInstance, onAck, onAckAck, read, setException, toDocField, write, writeJSONFields
compute
addToPendingCount, compareAndSetPendingCount, complete, exec, getCompleter, getPendingCount, getRawResult, setCompleter, setPendingCount, setRawResult, tryComplete
adapt, 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, tryUnfork
public GLMTask.GLMLineSearchTask(Job job, FrameTask.DataInfo dinfo, GLMParams glm, double[] oldBeta, double[] newBeta, double minStep, long nobs, double alpha, double lambda, H2O.H2OCountedCompleter cmp)
public void chunkInit()
FrameTask
chunkInit
in class FrameTask<GLMTask.GLMLineSearchTask>
public void chunkDone()
FrameTask
chunkDone
in class FrameTask<GLMTask.GLMLineSearchTask>
public void postGlobal()
postGlobal
in class MRTask2<GLMTask.GLMLineSearchTask>
public final void processRow(long gid, double[] nums, int ncats, int[] cats, double[] responses)
FrameTask
processRow
in class FrameTask<GLMTask.GLMLineSearchTask>
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.responses
- - numeric value for the responsepublic void reduce(GLMTask.GLMLineSearchTask git)
MRTask2
reduce
in class MRTask2<GLMTask.GLMLineSearchTask>