public interface RandomForestParams extends TreeEnsembleParams
Modifier and Type | Method and Description |
---|---|
BooleanParam |
bootstrap()
Whether bootstrap samples are used when building trees.
|
boolean |
getBootstrap() |
int |
getNumTrees() |
IntParam |
numTrees()
Number of trees to train (at least 1).
|
featureSubsetStrategy, getFeatureSubsetStrategy, getOldStrategy, getSubsamplingRate, subsamplingRate
cacheNodeIds, getCacheNodeIds, getLeafCol, getMaxBins, getMaxDepth, getMaxMemoryInMB, getMinInfoGain, getMinInstancesPerNode, getMinWeightFractionPerNode, getOldStrategy, leafCol, maxBins, maxDepth, maxMemoryInMB, minInfoGain, minInstancesPerNode, minWeightFractionPerNode, setLeafCol
validateAndTransformSchema
getLabelCol, labelCol
featuresCol, getFeaturesCol
getPredictionCol, predictionCol
clear, copy, copyValues, defaultCopy, defaultParamMap, explainParam, explainParams, extractParamMap, extractParamMap, get, getDefault, getOrDefault, getParam, hasDefault, hasParam, isDefined, isSet, onParamChange, paramMap, params, set, set, set, setDefault, setDefault, shouldOwn
toString, uid
checkpointInterval, getCheckpointInterval
getWeightCol, weightCol
BooleanParam bootstrap()
boolean getBootstrap()
int getNumTrees()
IntParam numTrees()
Note: The reason that we cannot add this to both GBT and RF (i.e. in TreeEnsembleParams)
is the param maxIter
controls how many trees a GBT has. The semantics in the algorithms
are a bit different.