public class DRF extends SharedTree<DRFModel,DRFModel.DRFParameters,DRFModel.DRFOutput>
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 |
---|
DRF(boolean startup_once) |
DRF(DRFModel.DRFParameters parms) |
DRF(DRFModel.DRFParameters parms,
water.Job job) |
DRF(DRFModel.DRFParameters parms,
water.Key<DRFModel> 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 double |
score1(water.fvec.Chunk[] chks,
double weight,
double offset,
double[] fs,
int row) |
boolean |
scoreZeroTrees() |
protected SharedTree.Driver |
trainModelImpl()
Start the DRF 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, 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, nModelsInParallel, numSpecialCols, paramName, raiseReproducibilityWarning, 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 DRF(DRFModel.DRFParameters parms)
public DRF(DRFModel.DRFParameters parms, water.Key<DRFModel> key)
public DRF(DRFModel.DRFParameters parms, water.Job job)
public DRF(boolean startup_once)
public hex.ModelCategory[] can_build()
can_build
in class hex.ModelBuilder<DRFModel,DRFModel.DRFParameters,DRFModel.DRFOutput>
protected SharedTree.Driver trainModelImpl()
trainModelImpl
in class hex.ModelBuilder<DRFModel,DRFModel.DRFParameters,DRFModel.DRFOutput>
public boolean scoreZeroTrees()
scoreZeroTrees
in class SharedTree<DRFModel,DRFModel.DRFParameters,DRFModel.DRFOutput>
public void init(boolean expensive)
init
in class SharedTree<DRFModel,DRFModel.DRFParameters,DRFModel.DRFOutput>
protected double score1(water.fvec.Chunk[] chks, double weight, double offset, double[] fs, int row)
score1
in class SharedTree<DRFModel,DRFModel.DRFParameters,DRFModel.DRFOutput>
public hex.PojoWriter makePojoWriter(hex.Model<?,?,?> genericModel, hex.genmodel.MojoModel mojoModel)
makePojoWriter
in class hex.ModelBuilder<DRFModel,DRFModel.DRFParameters,DRFModel.DRFOutput>