public class DeepLearningTask extends FrameTask<DeepLearningTask>
FrameTask.DataInfo_dinfo, _shuffle, _useFraction_appendables, _fr, _fs, _hi, _left, _lo, _nleft, _nodes, _nrite, _rite, _topLocal_cls, _eFromNode, _exception, _fname, _lineNum, _msg, _mth| Constructor and Description |
|---|
DeepLearningTask(DeepLearningModel.DeepLearningModelInfo input,
float fraction) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
chunkInit()
Override this to initialize at the beginning of chunk processing.
|
static Neurons[] |
makeNeuronsForTesting(DeepLearningModel.DeepLearningModelInfo minfo) |
static Neurons[] |
makeNeuronsForTraining(DeepLearningModel.DeepLearningModelInfo minfo) |
DeepLearningModel.DeepLearningModelInfo |
model_info() |
protected void |
postGlobal() |
void |
processRow(long seed,
double[] nums,
int numcats,
int[] cats,
double[] responses)
Method to process one row of the data for GLM functions.
|
void |
reduce(DeepLearningTask other)
Override to combine results from 'mrt' into 'this' MRTask2.
|
protected void |
setupLocal()
Override to do any remote initialization on the 1st remote instance of
this object, for initializing node-local shared data structures.
|
static void |
step(long seed,
Neurons[] neurons,
DeepLearningModel.DeepLearningModelInfo minfo,
boolean training,
double[] responses) |
chunkDone, dfork, map, normMul, normRespMul, normRespSub, normSub, processRowblock, clone, closeLocal, compute2, dfork, dfork, dfork, dinvoke, doAll, doAll, doAll, doAll, doAll, doAll, getResult, isReleasable, map, map, map, map, map, map, map, map, map, map, map, onCompletion, onExceptionalCompletion, outputFrame, outputFrame, outputFrame, profString, reduce4, 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, tryUnforkpublic DeepLearningTask(DeepLearningModel.DeepLearningModelInfo input, float fraction)
public final DeepLearningModel.DeepLearningModelInfo model_info()
protected void setupLocal()
MRTask2setupLocal in class MRTask2<DeepLearningTask>protected void chunkInit()
FrameTaskchunkInit in class FrameTask<DeepLearningTask>public final void processRow(long seed,
double[] nums,
int numcats,
int[] cats,
double[] responses)
FrameTaskprocessRow in class FrameTask<DeepLearningTask>seed - - global id of this row, in [0,_adaptedFrame.numRows())nums - - numeric values of this rownumcats - - number of passed (non-zero) categoricalscats - - indexes of categoricals into the expanded beta-vector.responses - - numeric value for the responsepublic void reduce(DeepLearningTask other)
MRTask2reduce in class MRTask2<DeepLearningTask>protected void postGlobal()
postGlobal in class MRTask2<DeepLearningTask>public static Neurons[] makeNeuronsForTraining(DeepLearningModel.DeepLearningModelInfo minfo)
public static Neurons[] makeNeuronsForTesting(DeepLearningModel.DeepLearningModelInfo minfo)
public static void step(long seed,
Neurons[] neurons,
DeepLearningModel.DeepLearningModelInfo minfo,
boolean training,
double[] responses)