public class ThinPlateDistanceWithKnots extends water.MRTask<ThinPlateDistanceWithKnots>
Modifier and Type | Field and Description |
---|---|
double |
_constantTerms |
Constructor and Description |
---|
ThinPlateDistanceWithKnots(double[][] knots,
int d,
double[] oneOGamColStd,
boolean standardizeGAM) |
Modifier and Type | Method and Description |
---|---|
static water.fvec.Frame |
applyTransform(water.fvec.Frame fr,
java.lang.String colNameStart,
GAMModel.GAMParameters parms,
double[][] zCST,
int newColNum)
This function perform the operation described in 3.3 regarding the part of data Xnmd.
|
static void |
fillRowData(double[] rowHolder,
water.fvec.Chunk[] chk,
int rowIndex,
int d) |
double[][] |
generatePenalty() |
void |
map(water.fvec.Chunk[] chk,
water.fvec.NewChunk[] newGamCols) |
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, postGlobal, profile, profString, reduce, self, setupLocal, withPostMapAction
copyOver, getDException, hasException, logVerbose, onAck, onAckAck, setException
asBytes, clone, compute, compute1, currThrPriority, frozenType, icer, priority, read, readJSON, reloadFromBytes, write, writeJSON
__tryComplete, addToPendingCount, compareAndSetPendingCount, complete, exec, getCompleter, getPendingCount, getRawResult, setCompleter, setPendingCount, setRawResult, tryComplete
adapt, 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, tryUnfork
public ThinPlateDistanceWithKnots(double[][] knots, int d, double[] oneOGamColStd, boolean standardizeGAM)
public void map(water.fvec.Chunk[] chk, water.fvec.NewChunk[] newGamCols)
map
in class water.MRTask<ThinPlateDistanceWithKnots>
public static void fillRowData(double[] rowHolder, water.fvec.Chunk[] chk, int rowIndex, int d)
public static water.fvec.Frame applyTransform(water.fvec.Frame fr, java.lang.String colNameStart, GAMModel.GAMParameters parms, double[][] zCST, int newColNum)
fr:
- H2OFrame to add gamificed columns to.colNameStart
- start of column names for gamified columnsparms
- GAMParameterszCST
- transpose of zCS transform matrixnewColNum
- number of gamified columns to be addedpublic double[][] generatePenalty()