public class GBMModel extends SharedTreeModelWithContributions<GBMModel,GBMModel.GBMParameters,GBMModel.GBMOutput> implements hex.Model.StagedPredictions, hex.FeatureInteractionsCollector, hex.FriedmanPopescusHCollector, hex.Model.RowToTreeAssignment
| Modifier and Type | Class and Description |
|---|---|
static class |
GBMModel.GBMOutput |
static class |
GBMModel.GBMParameters |
SharedTreeModelWithContributions.ScoreContributionsSortingTask, SharedTreeModelWithContributions.ScoreContributionsTask, SharedTreeModelWithContributions.ScoreContributionsWithBackgroundTaskSharedTreeModel.BufStringDecisionPathTracker, SharedTreeModel.SharedTreeOutput, SharedTreeModel.SharedTreeParametershex.Model.AdaptFrameParameters, hex.Model.BigScore, hex.Model.BigScoreChunkPredict, hex.Model.BigScorePredict, hex.Model.Contributions, hex.Model.DeepFeatures, hex.Model.ExemplarMembers, hex.Model.FeatureFrequencies, hex.Model.GetMostImportantFeatures, hex.Model.GetNTrees, hex.Model.GLRMArchetypes, hex.Model.GridSortBy, hex.Model.H2OModelDescriptor, hex.Model.InteractionBuilder, hex.Model.InteractionPair, hex.Model.InteractionSpec, hex.Model.JavaModelStreamWriter, hex.Model.JavaScoringOptions, hex.Model.LeafNodeAssignment, hex.Model.Output, hex.Model.Parameters, hex.Model.PredictScoreResult, hex.Model.RowToTreeAssignment, hex.Model.StagedPredictions, hex.Model.UpdateAuxTreeWeightshex.Model.Contributions.ContributionsOptions, hex.Model.Contributions.ContributionsOutputFormat| Constructor and Description |
|---|
GBMModel(water.Key<GBMModel> selfKey,
GBMModel.GBMParameters parms,
GBMModel.GBMOutput output) |
| Modifier and Type | Method and Description |
|---|---|
hex.FeatureInteractions |
getFeatureInteractions(int maxInteractionDepth,
int maxTreeDepth,
int maxDeepening) |
water.util.TwoDimTable[][] |
getFeatureInteractionsTable(int maxInteractionDepth,
int maxTreeDepth,
int maxDeepening) |
double |
getFriedmanPopescusH(water.fvec.Frame frame,
java.lang.String[] vars) |
GbmMojoWriter |
getMojo() |
protected SharedTreeModelWithContributions.ScoreContributionsTask |
getScoreContributionsSoringTask(SharedTreeModel model,
hex.Model.Contributions.ContributionsOptions options) |
protected SharedTreeModelWithContributions.ScoreContributionsTask |
getScoreContributionsTask(SharedTreeModel model) |
protected SharedTreeModelWithContributions.ScoreContributionsWithBackgroundTask |
getScoreContributionsWithBackgroundTask(SharedTreeModel model,
water.fvec.Frame fr,
water.fvec.Frame backgroundFrame,
boolean expand,
int[] catOffsets,
hex.Model.Contributions.ContributionsOptions options) |
void |
initActualParamValues() |
void |
initActualParamValuesAfterOutputSetup(int nclasses,
boolean isClassifier) |
protected SharedTreePojoWriter |
makeTreePojoWriter() |
water.fvec.Frame |
rowToTreeAssignment(water.fvec.Frame frame,
water.Key<water.fvec.Frame> destination_key,
water.Job<water.fvec.Frame> j) |
double |
score(double[] data) |
protected double[] |
score0(double[] data,
double[] preds,
double offset,
int ntrees)
Bulk scoring API for one row.
|
protected double[] |
score0Incremental(Score.ScoreIncInfo sii,
water.fvec.Chunk[] chks,
double offset,
int row_in_chunk,
double[] tmp,
double[] preds) |
water.fvec.Frame |
scoreStagedPredictions(water.fvec.Frame frame,
water.Key<water.fvec.Frame> destination_key) |
removeSpecialColumns, removeSpecialNNonNumericColumns, scoreContributions, scoreContributions, scoreContributions, scoreContributionsbinomialOpt, deepClone, getGenModelEncoding, getMostImportantFeatures, getSharedTreeSubgraph, getToEigenVec, isFeatureUsedInPredict, makeAllTreeColumnNames, makeMetricBuilder, makePojoWriter, postProcessPredictions, readAll_impl, remove_impl, score0, score0, score0, scoreFeatureFrequencies, scoreLeafNodeAssignment, updateAuxTreeWeights, writeAll_impladaptFrameForScore, adaptTestForJavaScoring, adaptTestForTrain, adaptTestForTrain, adaptTestForTrain, addMetrics, addModelMetrics, addWarning, aic, auc, AUCPR, checksum_impl, classification_error, compareTo, computeDeviances, containsResponse, data, defaultThreshold, defaultThreshold, deleteCrossValidationFoldAssignment, deleteCrossValidationModels, deleteCrossValidationPreds, deviance, deviance, evaluateAutoModelParameters, exportBinaryModel, exportMojo, fetchAll, fillScoringInfo, getDefaultGridSortBy, getPojoInterfaces, haveMojo, havePojo, importBinaryModel, isDistributionHuber, isFeatureUsedInPredict, isGeneric, isSupervised, last_scored, lift_top_group, likelihood, logloss, loss, mae, makeAdaptFrameParameters, makeBigScoreTask, makeInteraction, makeInteractions, makeInteractions, makeSchema, makeScoringDomains, makeScoringNames, makeScoringNames, mean_per_class_error, modelDescriptor, mse, needsPostProcess, predictScoreImpl, r2, resetThreshold, result, rmsle, score, score, score, score, score, score, score, score0, score0, score0PostProcessSupervised, scoreMetrics, scoring_history, scoringDomains, setInputParms, setupBigScorePredict, testJavaScoring, testJavaScoring, testJavaScoring, testJavaScoring, testJavaScoring, toJava, toJava, toJava, toJavaAlgo, toJavaCheckTooBig, toJavaInit, toJavaModelClassName, toJavaPredictBody, toJavaTransform, toJavaUUID, toMojo, toMojo, toString, transform, uploadBinaryModel, writeTodelete_and_lock, delete_and_lock, delete_and_lock, delete_and_lock, delete, delete, delete, delete, read_lock, read_lock, read_lock, unlock_all, unlock, unlock, unlock, unlock, update, update, update, write_lock_to_read_lock, write_lock, write_lock, write_lockchecksum_impl, checksum, checksum, getKey, readAll, remove_impl, remove_self_key_impl, remove, remove, remove, remove, remove, remove, removeQuietly, writeAllasBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonBytes, toJsonString, write, writeExternal, writeJSONpublic GBMModel(water.Key<GBMModel> selfKey, GBMModel.GBMParameters parms, GBMModel.GBMOutput output)
public void initActualParamValues()
initActualParamValues in class hex.Model<GBMModel,GBMModel.GBMParameters,GBMModel.GBMOutput>public void initActualParamValuesAfterOutputSetup(int nclasses,
boolean isClassifier)
protected SharedTreeModelWithContributions.ScoreContributionsWithBackgroundTask getScoreContributionsWithBackgroundTask(SharedTreeModel model, water.fvec.Frame fr, water.fvec.Frame backgroundFrame, boolean expand, int[] catOffsets, hex.Model.Contributions.ContributionsOptions options)
protected SharedTreeModelWithContributions.ScoreContributionsTask getScoreContributionsTask(SharedTreeModel model)
getScoreContributionsTask in class SharedTreeModelWithContributions<GBMModel,GBMModel.GBMParameters,GBMModel.GBMOutput>protected SharedTreeModelWithContributions.ScoreContributionsTask getScoreContributionsSoringTask(SharedTreeModel model, hex.Model.Contributions.ContributionsOptions options)
getScoreContributionsSoringTask in class SharedTreeModelWithContributions<GBMModel,GBMModel.GBMParameters,GBMModel.GBMOutput>public water.fvec.Frame scoreStagedPredictions(water.fvec.Frame frame,
water.Key<water.fvec.Frame> destination_key)
scoreStagedPredictions in interface hex.Model.StagedPredictionsprotected final double[] score0Incremental(Score.ScoreIncInfo sii, water.fvec.Chunk[] chks, double offset, int row_in_chunk, double[] tmp, double[] preds)
score0Incremental in class SharedTreeModel<GBMModel,GBMModel.GBMParameters,GBMModel.GBMOutput>protected double[] score0(double[] data,
double[] preds,
double offset,
int ntrees)
score0 in class SharedTreeModel<GBMModel,GBMModel.GBMParameters,GBMModel.GBMOutput>protected SharedTreePojoWriter makeTreePojoWriter()
makeTreePojoWriter in class SharedTreeModel<GBMModel,GBMModel.GBMParameters,GBMModel.GBMOutput>public GbmMojoWriter getMojo()
getMojo in class hex.Model<GBMModel,GBMModel.GBMParameters,GBMModel.GBMOutput>public hex.FeatureInteractions getFeatureInteractions(int maxInteractionDepth,
int maxTreeDepth,
int maxDeepening)
public water.util.TwoDimTable[][] getFeatureInteractionsTable(int maxInteractionDepth,
int maxTreeDepth,
int maxDeepening)
getFeatureInteractionsTable in interface hex.FeatureInteractionsCollectorpublic double getFriedmanPopescusH(water.fvec.Frame frame,
java.lang.String[] vars)
getFriedmanPopescusH in interface hex.FriedmanPopescusHCollectorpublic water.fvec.Frame rowToTreeAssignment(water.fvec.Frame frame,
water.Key<water.fvec.Frame> destination_key,
water.Job<water.fvec.Frame> j)
rowToTreeAssignment in interface hex.Model.RowToTreeAssignmentpublic double score(double[] data)
score in class hex.Model<GBMModel,GBMModel.GBMParameters,GBMModel.GBMOutput>