public static class GLMTask.GLMLineSearchTask extends GLMTask<GLMTask.GLMLineSearchTask>
GLMTask.GLMIterationTask, GLMTask.GLMLineSearchTask, GLMTask.GLMValidationTask<T extends GLMTask.GLMValidationTask<T>>, GLMTask.GLMXValidationTaskFrameTask.DataInfo_dinfo, _jobKey, _shuffle, _skipMissing, _useFraction| Constructor and Description |
|---|
GLMTask.GLMLineSearchTask(water.Key jobKey,
FrameTask.DataInfo dinfo,
GLMModel.GLMParameters glm,
double[][] betas,
double ymu,
long nobs,
water.H2O.H2OCountedCompleter cmp) |
GLMTask.GLMLineSearchTask(water.Key jobKey,
FrameTask.DataInfo dinfo,
GLMModel.GLMParameters glm,
double[] oldBeta,
double[] newBeta,
double betaEps,
double ymu,
long nobs,
water.H2O.H2OCountedCompleter cmp) |
| Modifier and Type | Method and Description |
|---|---|
void |
chunkDone(long n)
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) |
computeEtadfork, map, normMul, normRespMul, normRespSub, normSub, processRow, skipMissingasyncExec, asyncExec, asyncExec, block, closeLocal, compute2, dfork, dfork, dfork, dinvoke, doAll, doAll, doAll, doAll, doAll, doAll, doAll, doAllNodes, getResult, isReleasable, map, map, map, map, map, map, map, map, map, map, map, map, onCompletion, onExceptionalCompletion, outputFrame, outputFrame, outputFrame, priority, profString, reduce4, setupLocalcopyOver, getDException, hasException, logVerbose, onAck, onAckAck, setExceptionclone, compute, frozenType, icer, nextThrPriority, read_impl, read, readJSON_impl, readJSON, write_impl, write, writeHTML_impl, writeHTML, writeJSON_impl, writeJSONaddToPendingCount, 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, tryUnforkpublic GLMTask.GLMLineSearchTask(water.Key jobKey,
FrameTask.DataInfo dinfo,
GLMModel.GLMParameters glm,
double[] oldBeta,
double[] newBeta,
double betaEps,
double ymu,
long nobs,
water.H2O.H2OCountedCompleter cmp)
public GLMTask.GLMLineSearchTask(water.Key jobKey,
FrameTask.DataInfo dinfo,
GLMModel.GLMParameters glm,
double[][] betas,
double ymu,
long nobs,
water.H2O.H2OCountedCompleter cmp)
public void chunkInit()
FrameTaskchunkInit in class FrameTask<GLMTask.GLMLineSearchTask>public void chunkDone(long n)
FrameTaskchunkDone in class FrameTask<GLMTask.GLMLineSearchTask>n - Number of processed rowspublic void postGlobal()
postGlobal in class water.MRTask<GLMTask.GLMLineSearchTask>public final void processRow(long gid,
double[] nums,
int ncats,
int[] cats,
double[] responses)
FrameTaskprocessRow 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)
reduce in class water.MRTask<GLMTask.GLMLineSearchTask>