public class GLRMModel extends hex.Model<GLRMModel,GLRMModel.GLRMParameters,GLRMModel.GLRMOutput> implements hex.Model.GLRMArchetypes
Modifier and Type | Class and Description |
---|---|
static class |
GLRMModel.GLRMOutput |
static class |
GLRMModel.GLRMParameters |
hex.Model.BigScore, hex.Model.DeepFeatures, hex.Model.ExemplarMembers, hex.Model.GetMostImportantFeatures, hex.Model.GLRMArchetypes, hex.Model.GridSortBy, hex.Model.InteractionPair, hex.Model.JavaModelStreamWriter, hex.Model.LeafNodeAssignment, hex.Model.Output, hex.Model.Parameters
Constructor and Description |
---|
GLRMModel(water.Key<GLRMModel> selfKey,
GLRMModel.GLRMParameters parms,
GLRMModel.GLRMOutput output) |
Modifier and Type | Method and Description |
---|---|
GlrmMojoWriter |
getMojo() |
ModelMetricsGLRM.GlrmModelMetricsBuilder |
makeMetricBuilder(java.lang.String[] domain) |
protected water.fvec.Frame |
predictScoreImpl(water.fvec.Frame orig,
water.fvec.Frame adaptedFr,
java.lang.String destination_key,
water.Job j,
boolean computeMetrics) |
protected water.Keyed |
readAll_impl(water.AutoBuffer ab,
water.Futures fs) |
protected water.Futures |
remove_impl(water.Futures fs) |
protected double[] |
score0(double[] data,
double[] preds) |
water.fvec.Frame |
scoreArchetypes(water.fvec.Frame frame,
water.Key<water.fvec.Frame> destination_key,
boolean reverse_transform)
Project each archetype into original feature space
|
ModelMetricsGLRM |
scoreMetricsOnly(water.fvec.Frame frame) |
water.fvec.Frame |
scoreReconstruction(water.fvec.Frame frame,
water.Key<water.fvec.Frame> destination_key,
boolean reverse_transform) |
protected water.AutoBuffer |
writeAll_impl(water.AutoBuffer ab) |
adaptTestForTrain, adaptTestForTrain, addMetrics, addModelMetrics, addWarning, auc, checksum_impl, classification_error, cleanup_adapt, closeBigScorePredict, compareTo, computeDeviances, data, defaultThreshold, deleteCrossValidationModels, deviance, deviance, fillScoringInfo, getDefaultGridSortBy, getToEigenVec, isSupervised, last_scored, lift_top_group, logloss, loss, mae, makeBigScoreTask, makeInteraction, makeInteractions, makeInteractions, makeSchema, makeScoringNames, mean_per_class_error, mse, postProcessPredictions, rmsle, score, score, score, score, score, score0, score0, score0, scoreMetrics, scoring_history, scoringDomains, setupBigScorePredict, testJavaScoring, testJavaScoring, testJavaScoring, toJava, toJava, toJava, toJavaCheckTooBig, toJavaInit, toJavaNCLASSES, toJavaPredictBody, toJavaPROB, toJavaSuper, toString
delete_and_lock, delete_and_lock, delete_and_lock, delete, delete, delete, read_lock, read_lock, read_lock, unlock_all, unlock, unlock, unlock, unlock, update, update, update, write_lock, write_lock, write_lock
checksum, readAll, remove, remove, remove, remove, writeAll
public GLRMModel(water.Key<GLRMModel> selfKey, GLRMModel.GLRMParameters parms, GLRMModel.GLRMOutput output)
protected water.Futures remove_impl(water.Futures fs)
remove_impl
in class hex.Model<GLRMModel,GLRMModel.GLRMParameters,GLRMModel.GLRMOutput>
protected water.AutoBuffer writeAll_impl(water.AutoBuffer ab)
writeAll_impl
in class hex.Model<GLRMModel,GLRMModel.GLRMParameters,GLRMModel.GLRMOutput>
protected water.Keyed readAll_impl(water.AutoBuffer ab, water.Futures fs)
readAll_impl
in class hex.Model<GLRMModel,GLRMModel.GLRMParameters,GLRMModel.GLRMOutput>
public GlrmMojoWriter getMojo()
getMojo
in class hex.Model<GLRMModel,GLRMModel.GLRMParameters,GLRMModel.GLRMOutput>
protected water.fvec.Frame predictScoreImpl(water.fvec.Frame orig, water.fvec.Frame adaptedFr, java.lang.String destination_key, water.Job j, boolean computeMetrics)
predictScoreImpl
in class hex.Model<GLRMModel,GLRMModel.GLRMParameters,GLRMModel.GLRMOutput>
public water.fvec.Frame scoreReconstruction(water.fvec.Frame frame, water.Key<water.fvec.Frame> destination_key, boolean reverse_transform)
scoreReconstruction
in interface hex.Model.GLRMArchetypes
public water.fvec.Frame scoreArchetypes(water.fvec.Frame frame, water.Key<water.fvec.Frame> destination_key, boolean reverse_transform)
scoreArchetypes
in interface hex.Model.GLRMArchetypes
frame
- Original training data with m rows and n columnsdestination_key
- Frame Id for outputprotected double[] score0(double[] data, double[] preds)
score0
in class hex.Model<GLRMModel,GLRMModel.GLRMParameters,GLRMModel.GLRMOutput>
public ModelMetricsGLRM scoreMetricsOnly(water.fvec.Frame frame)
public ModelMetricsGLRM.GlrmModelMetricsBuilder makeMetricBuilder(java.lang.String[] domain)
makeMetricBuilder
in class hex.Model<GLRMModel,GLRMModel.GLRMParameters,GLRMModel.GLRMOutput>