|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjsr166y.ForkJoinTask<java.lang.Void>
jsr166y.CountedCompleter
water.H2O.H2OCountedCompleter
water.DTask
water.MRTask2<T>
hex.FrameTask<T>
hex.glm.GLMTask<GLMTask.GLMIterationTask>
hex.glm.GLMTask.GLMIterationTask
public static class GLMTask.GLMIterationTask
One iteration of glm, computes weighted gram matrix and t(x)*y vector and t(y)*y scalar.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class hex.glm.GLMTask |
|---|
GLMTask.GLMIterationTask |
| Field Summary |
|---|
| Fields inherited from class hex.glm.GLMTask |
|---|
_beta |
| Fields inherited from class hex.FrameTask |
|---|
_caseMode, _caseVal, _catOffsets, _cats, _normMul, _normSub, _nums, _standardize |
| Fields inherited from class water.MRTask2 |
|---|
_appendables, _fr, _fs, _hi, _left, _lo, _nleft, _nodes, _nrite, _rite, _topLocal |
| Fields inherited from class water.DTask |
|---|
_cls, _eFromNode, _exception, _fname, _lineNum, _msg, _mth |
| Constructor Summary | |
|---|---|
GLMTask.GLMIterationTask(GLMTask.GLMIterationTask git,
double[] beta)
|
|
GLMTask.GLMIterationTask(Job job,
GLMParams glm,
double[] beta,
boolean standardize,
double reg,
GLMParams.CaseMode caseMode,
double caseVal,
int step,
int offset,
boolean complement)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class hex.glm.GLMTask |
|---|
computeEta, diagN |
| Methods inherited from class hex.FrameTask |
|---|
adaptFrame, catOffsets, cats, dfork2, doIt, fullN, largestCat, map, normMul, normSub, nums, processRow, processRow, processRow, standardize |
| Methods inherited from class water.MRTask2 |
|---|
clone, closeLocal, compute2, dfork, 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, vecs |
| Methods inherited from class water.DTask |
|---|
copyOver, frozenType, getDException, hasException, logVerbose, newInstance, onAck, onAckAck, read, setException, toDocField, write, writeJSONFields |
| Methods inherited from class water.H2O.H2OCountedCompleter |
|---|
compute, priority |
| Methods inherited from class jsr166y.CountedCompleter |
|---|
addToPendingCount, compareAndSetPendingCount, complete, exec, getCompleter, getPendingCount, getRawResult, setCompleter, setPendingCount, setRawResult, tryComplete |
| Methods inherited from class jsr166y.ForkJoinTask |
|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GLMTask.GLMIterationTask(Job job,
GLMParams glm,
double[] beta,
boolean standardize,
double reg,
GLMParams.CaseMode caseMode,
double caseVal,
int step,
int offset,
boolean complement)
public GLMTask.GLMIterationTask(GLMTask.GLMIterationTask git,
double[] beta)
| Method Detail |
|---|
public final void processRow(double[] nums,
int ncats,
int[] cats,
double y)
FrameTask
processRow 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()
FrameTask
chunkInit in class FrameTask<GLMTask.GLMIterationTask>protected void chunkDone()
FrameTask
chunkDone in class FrameTask<GLMTask.GLMIterationTask>public void reduce(GLMTask.GLMIterationTask git)
MRTask2
reduce in class MRTask2<GLMTask.GLMIterationTask>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||