public class DT extends hex.ModelBuilder<DTModel,DTModel.DTParameters,DTModel.DTOutput>
Modifier and Type | Field and Description |
---|---|
static double |
EPSILON |
static double |
MIN_IMPROVEMENT |
_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 |
---|
DT(boolean startup_once) |
DT(DTModel.DTParameters parameters) |
Modifier and Type | Method and Description |
---|---|
hex.ModelBuilder.BuilderVisibility |
builderVisibility() |
void |
buildNextNode(java.util.Queue<DataFeaturesLimits> limitsQueue,
int nodeIndex)
Build next node from the first limits in queue.
|
hex.ModelCategory[] |
can_build() |
static DataFeaturesLimits |
getInitialFeaturesLimits(water.fvec.Frame data)
Compute initial features limits.
|
boolean |
isSupervised() |
void |
makeLeafFromNode(int[] countsByClass,
int nodeIndex)
Set decision value to the node.
|
protected void |
makeModelMetrics() |
protected hex.ModelBuilder.Driver |
trainModelImpl() |
algoName, algos, canLearnFromNAs, checkCustomMetricForEarlyStopping, checkDistributions, checkEarlyStoppingReproducibility, checkMemoryFootPrint_impl, checkMemoryFootPrint, checkResponseVariable, clearInitState, clearValidationErrors, computeCrossValidation, computePriorClassDistribution, cv_buildModels, cv_canBuildMainModelInParallel, cv_computeAndSetOptimalParameters, cv_initStoppingParameters, cv_mainModelScores, cv_makeAggregateModelMetrics, cv_scoreCVModels, cv_updateOptimalParameters, defaultKey, desiredChunks, dest, error_count, error, get, getMessagesByFieldAndSeverity, getName, getSysProperty, getToEigenVec, hasFoldCol, hasOffsetCol, hasTreatmentCol, hasWeightCol, haveMojo, havePojo, hide, ignoreBadColumns, ignoreConstColumns, ignoreInvalidColumns, ignoreStringColumns, ignoreUuidColumns, info, init_adaptFrameToTrain, init_getNClass, init, 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, shouldReorder, smallDataSize, stop_requested, timeout, train, trainModel, trainModel, trainModelNested, trainModelNested, trainModelOnH2ONode, valid, validateBinaryResponse, validateStoppingMetric, validationErrors, validationWarnings, vresponse, warn
public static final double EPSILON
public static final double MIN_IMPROVEMENT
public DT(DTModel.DTParameters parameters)
public DT(boolean startup_once)
public void makeLeafFromNode(int[] countsByClass, int nodeIndex)
countsByClass
- counts of samples of each classnodeIndex
- node indexpublic void buildNextNode(java.util.Queue<DataFeaturesLimits> limitsQueue, int nodeIndex)
limitsQueue
- queue with feature limits for nodesnodeIndex
- index of node in the tree arraypublic static DataFeaturesLimits getInitialFeaturesLimits(water.fvec.Frame data)
protected hex.ModelBuilder.Driver trainModelImpl()
trainModelImpl
in class hex.ModelBuilder<DTModel,DTModel.DTParameters,DTModel.DTOutput>
public hex.ModelBuilder.BuilderVisibility builderVisibility()
builderVisibility
in class hex.ModelBuilder<DTModel,DTModel.DTParameters,DTModel.DTOutput>
public hex.ModelCategory[] can_build()
can_build
in class hex.ModelBuilder<DTModel,DTModel.DTParameters,DTModel.DTOutput>
public boolean isSupervised()
isSupervised
in class hex.ModelBuilder<DTModel,DTModel.DTParameters,DTModel.DTOutput>
protected final void makeModelMetrics()