public class PCAModel extends hex.Model<PCAModel,PCAModel.PCAParameters,PCAModel.PCAOutput>
Modifier and Type | Class and Description |
---|---|
static class |
PCAModel.PCAOutput |
static class |
PCAModel.PCAParameters |
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 |
---|
PCAModel(water.Key selfKey,
PCAModel.PCAParameters parms,
PCAModel.PCAOutput output) |
Modifier and Type | Method and Description |
---|---|
hex.ModelMetrics.MetricBuilder |
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 double[] |
score0(double[] data,
double[] preds) |
protected water.util.SBPrintStream |
toJavaInit(water.util.SBPrintStream sb,
water.codegen.CodeGeneratorPipeline fileCtx) |
protected void |
toJavaPredictBody(water.util.SBPrintStream bodySb,
water.codegen.CodeGeneratorPipeline classCtx,
water.codegen.CodeGeneratorPipeline fileCtx,
boolean verboseCode) |
adaptTestForTrain, adaptTestForTrain, addMetrics, addModelMetrics, addWarning, auc, checksum_impl, classification_error, cleanup_adapt, closeBigScorePredict, compareTo, computeDeviances, data, defaultThreshold, deleteCrossValidationModels, deviance, deviance, fillScoringInfo, getDefaultGridSortBy, getMojo, getToEigenVec, isSupervised, last_scored, lift_top_group, logloss, loss, mae, makeBigScoreTask, makeInteraction, makeInteractions, makeInteractions, makeSchema, makeScoringNames, mean_per_class_error, mse, postProcessPredictions, readAll_impl, remove_impl, rmsle, score, score, score, score, score, score0, score0, score0, scoreMetrics, scoring_history, scoringDomains, setupBigScorePredict, testJavaScoring, testJavaScoring, testJavaScoring, toJava, toJava, toJava, toJavaCheckTooBig, toJavaNCLASSES, toJavaPROB, toJavaSuper, toString, writeAll_impl
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 PCAModel(water.Key selfKey, PCAModel.PCAParameters parms, PCAModel.PCAOutput output)
public hex.ModelMetrics.MetricBuilder makeMetricBuilder(java.lang.String[] domain)
makeMetricBuilder
in class hex.Model<PCAModel,PCAModel.PCAParameters,PCAModel.PCAOutput>
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<PCAModel,PCAModel.PCAParameters,PCAModel.PCAOutput>
protected double[] score0(double[] data, double[] preds)
score0
in class hex.Model<PCAModel,PCAModel.PCAParameters,PCAModel.PCAOutput>
protected water.util.SBPrintStream toJavaInit(water.util.SBPrintStream sb, water.codegen.CodeGeneratorPipeline fileCtx)
toJavaInit
in class hex.Model<PCAModel,PCAModel.PCAParameters,PCAModel.PCAOutput>
protected void toJavaPredictBody(water.util.SBPrintStream bodySb, water.codegen.CodeGeneratorPipeline classCtx, water.codegen.CodeGeneratorPipeline fileCtx, boolean verboseCode)
toJavaPredictBody
in class hex.Model<PCAModel,PCAModel.PCAParameters,PCAModel.PCAOutput>