public class GBM extends SharedTree<GBMModel,GBMModel.GBMParameters,GBMModel.GBMOutput>
Modifier and Type | Class and Description |
---|---|
static class |
GBM.DiffMinusMedianDiff |
SharedTree.Driver, SharedTree.FrameMap, SharedTree.ScoreBuildOneTree, SharedTree.SharedTreeDebugParams
_ics, _improvPerVar, _initialPrediction, _lastScoredTree, _model, _mtry, _mtry_per_tree, _ncols, _ntrees, _rand, _trainPredsCache, _validPredsCache, _validWorkspace, MAX_NTREES
_coordinator, _desc, _eventPublisher, _fold, _input_parms, _job, _messages, _nclass, _offset, _orig_projection_array, _origDomains, _origNames, _origTrain, _parms, _priorClassDist, _removedCols, _response, _result, _startUpOnceModelBuilder, _train, _treatment, _valid, _vresponse, _weights
Constructor and Description |
---|
GBM(boolean startup_once) |
GBM(GBMModel.GBMParameters parms) |
GBM(GBMModel.GBMParameters parms,
water.Key<GBMModel> key) |
Modifier and Type | Method and Description |
---|---|
hex.ModelCategory[] |
can_build() |
void |
init(boolean expensive)
Initialize the ModelBuilder, validating all arguments and preparing the
training frame.
|
hex.PojoWriter |
makePojoWriter(hex.Model<?,?,?> genericModel,
hex.genmodel.MojoModel mojoModel) |
protected int |
nModelsInParallel(int folds) |
protected void |
raiseReproducibilityWarning(java.lang.String datasetName,
int chunks) |
protected double |
score1(water.fvec.Chunk[] chks,
double weight,
double offset,
double[] fs,
int row) |
protected hex.tree.gbm.GBM.GBMDriver |
trainModelImpl()
Start the GBM training Job on an F/J thread.
|
addCustomInfo, buildLayer, canLearnFromNAs, checkEarlyStoppingReproducibility, checkMemoryFootPrint_impl, chk_nids, chk_offset, chk_oobt, chk_resp, chk_tree, chk_weight, chk_work, computePriorClassDistribution, createModelSummaryTable, createScoringHistoryTable, createScoringHistoryTable, cv_canBuildMainModelInParallel, cv_computeAndSetOptimalParameters, cv_initStoppingParameters, cv_updateOptimalParameters, data_row, doScoringAndSaveModel, getCalibrationFrame, getInitialValue, getModelBuilder, getProblemType, getToEigenVec, haveMojo, havePojo, idx_nids, idx_offset, idx_oobt, idx_resp, idx_treatment, idx_tree, idx_weight, idx_work, ignoreInvalidColumns, isSupervised, isUplift, makeDecided, makeScoreExtension, providesVarImp, scoreZeroTrees, setCalibrationFrame, setDebugParams, shouldReorder, validateRowSampleRate, validWorkspace, vec_nids, vec_offset, vec_oobt, vec_resp, vec_tree, vec_weight, vec_work
algoName, algos, builderVisibility, checkCustomMetricForEarlyStopping, checkDistributions, checkMemoryFootPrint, checkResponseVariable, clearInitState, clearValidationErrors, computeCrossValidation, cv_buildModels, cv_mainModelScores, cv_makeAggregateModelMetrics, cv_scoreCVModels, defaultKey, desiredChunks, dest, error_count, error, get, getMessagesByFieldAndSeverity, getName, getSysProperty, hasFoldCol, hasOffsetCol, hasTreatmentCol, hasWeightCol, hide, ignoreBadColumns, ignoreConstColumns, ignoreStringColumns, ignoreUuidColumns, info, init_adaptFrameToTrain, init_getNClass, initWorkspace, isClassifier, isResponseOptional, isStopped, javaName, logMe, make, make, make, makeCVMetrics, makeCVModelBuilder, makeParameters, message, nclasses, nFoldCV, nFoldWork, nModelsInParallel, nModelsInParallel, numSpecialCols, paramName, rebalance, remainingTimeSecs, response, schemaDirectory, separateFeatureVecs, setMaxRuntimeSecsForMainModel, setTrain, setValid, smallDataSize, stop_requested, timeout, train, trainModel, trainModel, trainModelNested, trainModelNested, trainModelOnH2ONode, valid, validateBinaryResponse, validateStoppingMetric, validationErrors, validationWarnings, vresponse, warn
public GBM(GBMModel.GBMParameters parms)
public GBM(GBMModel.GBMParameters parms, water.Key<GBMModel> key)
public GBM(boolean startup_once)
public hex.ModelCategory[] can_build()
can_build
in class hex.ModelBuilder<GBMModel,GBMModel.GBMParameters,GBMModel.GBMOutput>
protected int nModelsInParallel(int folds)
nModelsInParallel
in class hex.ModelBuilder<GBMModel,GBMModel.GBMParameters,GBMModel.GBMOutput>
protected hex.tree.gbm.GBM.GBMDriver trainModelImpl()
trainModelImpl
in class hex.ModelBuilder<GBMModel,GBMModel.GBMParameters,GBMModel.GBMOutput>
public void init(boolean expensive)
init
in class SharedTree<GBMModel,GBMModel.GBMParameters,GBMModel.GBMOutput>
protected double score1(water.fvec.Chunk[] chks, double weight, double offset, double[] fs, int row)
score1
in class SharedTree<GBMModel,GBMModel.GBMParameters,GBMModel.GBMOutput>
public hex.PojoWriter makePojoWriter(hex.Model<?,?,?> genericModel, hex.genmodel.MojoModel mojoModel)
makePojoWriter
in class hex.ModelBuilder<GBMModel,GBMModel.GBMParameters,GBMModel.GBMOutput>
protected void raiseReproducibilityWarning(java.lang.String datasetName, int chunks)
raiseReproducibilityWarning
in class hex.ModelBuilder<GBMModel,GBMModel.GBMParameters,GBMModel.GBMOutput>