|
|||||||||
| 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<Gram.GramTask>
hex.gram.Gram.GramTask
public static class Gram.GramTask
Task to compute gram matrix normalized by the number of observations (not counting rows with NAs). in R's notation g = t(X)%*%X/nobs, nobs = number of rows of X with no NA.
| Field Summary | |
|---|---|
Gram |
_gram
|
long |
_nobs
|
| 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 | |
|---|---|
Gram.GramTask(Job job,
boolean standardize,
boolean hasIntercept)
|
|
| 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. |
protected void |
processRow(double[] nums,
int ncats,
int[] cats)
|
void |
reduce(Gram.GramTask gt)
Override to combine results from 'mrt' into 'this' MRTask2. |
| 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 |
| Field Detail |
|---|
public Gram _gram
public long _nobs
| Constructor Detail |
|---|
public Gram.GramTask(Job job,
boolean standardize,
boolean hasIntercept)
| Method Detail |
|---|
protected void chunkInit()
FrameTask
chunkInit in class FrameTask<Gram.GramTask>
protected void processRow(double[] nums,
int ncats,
int[] cats)
processRow in class FrameTask<Gram.GramTask>protected void chunkDone()
FrameTask
chunkDone in class FrameTask<Gram.GramTask>public void reduce(Gram.GramTask gt)
MRTask2
reduce in class MRTask2<Gram.GramTask>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||