public class GenMSplineGamOneColumn extends water.MRTask<GenMSplineGamOneColumn>
| Modifier and Type | Field and Description |
|---|---|
int |
_numBasis |
double[][] |
_penaltyMat |
double |
_s_scale |
int |
_totKnots |
double[][] |
_ZTransp |
| Constructor and Description |
|---|
GenMSplineGamOneColumn(GAMModel.GAMParameters parm,
double[] knots,
int gamColIndex,
water.fvec.Frame gamCol,
int nBasis,
int totKnots)
Perform gamification on one predictor.
|
| Modifier and Type | Method and Description |
|---|---|
water.fvec.Frame |
centralizeFrame(water.fvec.Frame fr,
java.lang.String colNameStart,
GAMModel.GAMParameters parms) |
void |
map(water.fvec.Chunk[] chk,
water.fvec.NewChunk[] newGamCols) |
void |
postGlobal() |
void |
reduce(GenMSplineGamOneColumn other) |
appendables, asyncExecOnAllNodes, block, closeLocal, compute2, dfork, dfork, dfork, dfork, dfork, dinvoke, doAll, doAll, doAll, doAll, doAll, doAll, doAll, doAll, doAll, doAll, doAll, doAll, doAllNodes, getResult, getResult, isReleasable, map, map, map, map, map, map, map, map, map, map, map, modifiesVolatileVecs, onCompletion, onExceptionalCompletion, outputFrame, outputFrame, outputFrame, profile, profString, self, setupLocal, withPostMapActioncopyOver, getDException, hasException, logVerbose, onAck, onAckAck, setExceptionasBytes, clone, compute, compute1, currThrPriority, frozenType, icer, priority, read, readJSON, reloadFromBytes, write, writeJSON__tryComplete, addToPendingCount, compareAndSetPendingCount, complete, exec, getCompleter, getPendingCount, getRawResult, setCompleter, setPendingCount, setRawResult, tryCompleteadapt, adapt, adapt, cancel, compareAndSetForkJoinTaskTag, completeExceptionally, fork, get, 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 double _s_scale
public double[][] _ZTransp
public double[][] _penaltyMat
public final int _numBasis
public final int _totKnots
public GenMSplineGamOneColumn(GAMModel.GAMParameters parm, double[] knots, int gamColIndex, water.fvec.Frame gamCol, int nBasis, int totKnots)
parm: - GAM parametersknots: - double array of knots without duplicationgamColIndex: - index of which sorted gam columns we are dealing with.gamCol: - frame containing predictor to be gamifiednBasis: - number of basis functiontotKnots: - total number of knots with duplicationpublic void map(water.fvec.Chunk[] chk,
water.fvec.NewChunk[] newGamCols)
map in class water.MRTask<GenMSplineGamOneColumn>public void reduce(GenMSplineGamOneColumn other)
reduce in class water.MRTask<GenMSplineGamOneColumn>public void postGlobal()
postGlobal in class water.MRTask<GenMSplineGamOneColumn>public water.fvec.Frame centralizeFrame(water.fvec.Frame fr,
java.lang.String colNameStart,
GAMModel.GAMParameters parms)