public class GLRM extends hex.ModelBuilder<GLRMModel,GLRMModel.GLRMParameters,GLRMModel.GLRMOutput>
| Modifier and Type | Class and Description |
|---|---|
protected static class |
GLRM.Archetypes |
static class |
GLRM.updateXVecs |
| Constructor and Description |
|---|
GLRM(boolean startup_once) |
GLRM(GLRMModel.GLRMParameters parms) |
GLRM(GLRMModel.GLRMParameters parms,
water.Job<GLRMModel> job) |
| Modifier and Type | Method and Description |
|---|---|
hex.ModelCategory[] |
can_build() |
protected void |
checkMemoryFootPrint_impl() |
static double[][] |
expandCats(double[][] sdata,
DataInfo dinfo) |
static void |
findGoodCidx(water.fvec.Frame xVecs,
java.util.ArrayList<java.lang.Integer> currentList,
boolean addIndex,
int taIndex,
int xNChunks,
int startTAcidx) |
static java.util.ArrayList<java.lang.Integer> |
findtAChunkIndices(water.fvec.Frame tAVecs,
int xStart,
int xEnd,
GLRM.Archetypes yt) |
static java.util.ArrayList<java.lang.Integer> |
findXChunkIndices(water.fvec.Frame xVecs,
int taStart,
int taEnd,
GLRM.Archetypes yt) |
static double |
frobenius2(double[][] x) |
static void |
getXChunk(water.fvec.Frame xVecs,
int chunkIdx,
water.fvec.Chunk[] xChunks) |
boolean |
hasClosedForm(long na_cnt) |
boolean |
haveMojo() |
boolean |
havePojo() |
protected static int |
idx_xnew(int c,
int ncolA,
int ncolX) |
protected static int |
idx_xold(int c,
int ncolA) |
void |
init(boolean expensive)
Validate all parameters, and prepare the model for training.
|
boolean |
isSupervised() |
void |
setWideDataset(boolean isWide) |
protected hex.glrm.GLRM.GLRMDriver |
trainModelImpl() |
static double[][] |
transform(double[][] centers,
double[] normSub,
double[] normMul,
int ncats,
int nnums) |
static water.fvec.Chunk |
xFrameVec(water.fvec.Chunk[] chks,
int c,
int offset) |
static double |
yArcheTypeVal(GLRM.Archetypes yt,
int j,
int k) |
algoName, algos, builderVisibility, bulkBuildModels, checkDistributions, checkMemoryFootPrint, checkResponseVariable, clearInitState, clearValidationErrors, computeCrossValidation, computePriorClassDistribution, cv_AssignFold, cv_buildModels, cv_computeAndSetOptimalParameters, cv_mainModelScores, cv_makeFramesAndBuilders, cv_makeWeights, cv_scoreCVModels, defaultKey, desiredChunks, dest, error_count, error, get, getSysProperty, getToEigenVec, hasFoldCol, hasOffsetCol, hasWeightCol, haveMojo, havePojo, hide, ignoreBadColumns, ignoreConstColumns, ignoreInvalidColumns, ignoreStringColumns, ignoreUuidColumns, info, init_adaptFrameToTrain, isClassifier, isStopped, javaName, logMe, make, message, nclasses, nFoldCV, nFoldWork, nModelsInParallel, numSpecialCols, paramName, rebalance, response, schemaDirectory, separateFeatureVecs, setTrain, shouldReorder, specialColNames, stop_requested, timeout, train, trainModel, trainModelNested, trainModelNested, trainModelOnH2ONode, valid, validationErrors, vresponse, warnpublic GLRM(GLRMModel.GLRMParameters parms)
public GLRM(GLRMModel.GLRMParameters parms, water.Job<GLRMModel> job)
public GLRM(boolean startup_once)
protected hex.glrm.GLRM.GLRMDriver trainModelImpl()
trainModelImpl in class hex.ModelBuilder<GLRMModel,GLRMModel.GLRMParameters,GLRMModel.GLRMOutput>public hex.ModelCategory[] can_build()
can_build in class hex.ModelBuilder<GLRMModel,GLRMModel.GLRMParameters,GLRMModel.GLRMOutput>public boolean isSupervised()
isSupervised in class hex.ModelBuilder<GLRMModel,GLRMModel.GLRMParameters,GLRMModel.GLRMOutput>public boolean havePojo()
havePojo in class hex.ModelBuilder<GLRMModel,GLRMModel.GLRMParameters,GLRMModel.GLRMOutput>public boolean haveMojo()
haveMojo in class hex.ModelBuilder<GLRMModel,GLRMModel.GLRMParameters,GLRMModel.GLRMOutput>protected void checkMemoryFootPrint_impl()
checkMemoryFootPrint_impl in class hex.ModelBuilder<GLRMModel,GLRMModel.GLRMParameters,GLRMModel.GLRMOutput>public void setWideDataset(boolean isWide)
public void init(boolean expensive)
init in class hex.ModelBuilder<GLRMModel,GLRMModel.GLRMParameters,GLRMModel.GLRMOutput>public static double frobenius2(double[][] x)
public final boolean hasClosedForm(long na_cnt)
public static double[][] transform(double[][] centers,
double[] normSub,
double[] normMul,
int ncats,
int nnums)
public static double[][] expandCats(double[][] sdata,
DataInfo dinfo)
protected static int idx_xold(int c,
int ncolA)
protected static int idx_xnew(int c,
int ncolA,
int ncolX)
public static double yArcheTypeVal(GLRM.Archetypes yt, int j, int k)
public static water.fvec.Chunk xFrameVec(water.fvec.Chunk[] chks,
int c,
int offset)
public static void getXChunk(water.fvec.Frame xVecs,
int chunkIdx,
water.fvec.Chunk[] xChunks)
public static java.util.ArrayList<java.lang.Integer> findtAChunkIndices(water.fvec.Frame tAVecs,
int xStart,
int xEnd,
GLRM.Archetypes yt)
public static java.util.ArrayList<java.lang.Integer> findXChunkIndices(water.fvec.Frame xVecs,
int taStart,
int taEnd,
GLRM.Archetypes yt)
public static void findGoodCidx(water.fvec.Frame xVecs,
java.util.ArrayList<java.lang.Integer> currentList,
boolean addIndex,
int taIndex,
int xNChunks,
int startTAcidx)