public class UpliftDRF extends SharedTree<UpliftDRFModel,UpliftDRFModel.UpliftDRFParameters,UpliftDRFModel.UpliftDRFOutput>
Modifier and Type | Class and Description |
---|---|
static class |
UpliftDRF.UpliftMetricType |
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 |
---|
UpliftDRF(boolean startup_once) |
UpliftDRF(UpliftDRFModel.UpliftDRFParameters parms) |
UpliftDRF(UpliftDRFModel.UpliftDRFParameters parms,
water.Job job) |
UpliftDRF(UpliftDRFModel.UpliftDRFParameters parms,
water.Key<UpliftDRFModel> key) |
Modifier and Type | Method and Description |
---|---|
protected void |
addCustomInfo(UpliftDRFModel.UpliftDRFOutput out) |
protected DHistogram[][][] |
buildLayer(water.fvec.Frame fr,
int nbins,
DTree tree,
int[] leafs,
DHistogram[][][] hcs,
boolean build_tree_one_node) |
hex.ModelCategory[] |
can_build() |
protected water.util.TwoDimTable |
createScoringHistoryTable() |
boolean |
haveMojo() |
boolean |
havePojo() |
void |
init(boolean expensive)
Initialize the ModelBuilder, validating all arguments and preparing the
training frame.
|
boolean |
isUplift() |
protected hex.tree.uplift.UpliftDRF.UpliftScoreExtension |
makeScoreExtension() |
protected double |
score1(water.fvec.Chunk[] chks,
double weight,
double offset,
double[] fs,
int row)
Read the 'tree' columns, do model-specific math and put the results in the
fs[] array, and return the sum.
|
boolean |
scoreZeroTrees() |
protected SharedTree.Driver |
trainModelImpl()
Start the DRF training Job on an F/J thread.
|
buildLayer, canLearnFromNAs, checkEarlyStoppingReproducibility, checkMemoryFootPrint_impl, chk_nids, chk_offset, chk_oobt, chk_resp, chk_tree, chk_weight, chk_work, computePriorClassDistribution, createModelSummaryTable, createScoringHistoryTable, cv_canBuildMainModelInParallel, cv_computeAndSetOptimalParameters, cv_initStoppingParameters, cv_updateOptimalParameters, data_row, doScoringAndSaveModel, getCalibrationFrame, getInitialValue, getModelBuilder, getProblemType, getToEigenVec, idx_nids, idx_offset, idx_oobt, idx_resp, idx_treatment, idx_tree, idx_weight, idx_work, ignoreInvalidColumns, isSupervised, makeDecided, 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, makePojoWriter, 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 UpliftDRF(UpliftDRFModel.UpliftDRFParameters parms)
public UpliftDRF(UpliftDRFModel.UpliftDRFParameters parms, water.Key<UpliftDRFModel> key)
public UpliftDRF(UpliftDRFModel.UpliftDRFParameters parms, water.Job job)
public UpliftDRF(boolean startup_once)
public boolean isUplift()
isUplift
in class SharedTree<UpliftDRFModel,UpliftDRFModel.UpliftDRFParameters,UpliftDRFModel.UpliftDRFOutput>
public boolean haveMojo()
haveMojo
in class SharedTree<UpliftDRFModel,UpliftDRFModel.UpliftDRFParameters,UpliftDRFModel.UpliftDRFOutput>
public boolean havePojo()
havePojo
in class SharedTree<UpliftDRFModel,UpliftDRFModel.UpliftDRFParameters,UpliftDRFModel.UpliftDRFOutput>
public hex.ModelCategory[] can_build()
can_build
in class hex.ModelBuilder<UpliftDRFModel,UpliftDRFModel.UpliftDRFParameters,UpliftDRFModel.UpliftDRFOutput>
protected SharedTree.Driver trainModelImpl()
trainModelImpl
in class hex.ModelBuilder<UpliftDRFModel,UpliftDRFModel.UpliftDRFParameters,UpliftDRFModel.UpliftDRFOutput>
public boolean scoreZeroTrees()
public void init(boolean expensive)
init
in class SharedTree<UpliftDRFModel,UpliftDRFModel.UpliftDRFParameters,UpliftDRFModel.UpliftDRFOutput>
protected double score1(water.fvec.Chunk[] chks, double weight, double offset, double[] fs, int row)
score1
in class SharedTree<UpliftDRFModel,UpliftDRFModel.UpliftDRFParameters,UpliftDRFModel.UpliftDRFOutput>
protected DHistogram[][][] buildLayer(water.fvec.Frame fr, int nbins, DTree tree, int[] leafs, DHistogram[][][] hcs, boolean build_tree_one_node)
protected water.util.TwoDimTable createScoringHistoryTable()
protected void addCustomInfo(UpliftDRFModel.UpliftDRFOutput out)
protected hex.tree.uplift.UpliftDRF.UpliftScoreExtension makeScoreExtension()