public interface RandomForestParams extends TreeEnsembleParams
Modifier and Type | Method and Description |
---|---|
int |
getNumTrees() |
IntParam |
numTrees()
Number of trees to train (at least 1).
|
RandomForestParams |
setNumTrees(int value)
Deprecated.
This method is deprecated and will be removed in 3.0.0.
|
featureSubsetStrategy, getFeatureSubsetStrategy, getOldStrategy, getSubsamplingRate, setFeatureSubsetStrategy, setSubsamplingRate, subsamplingRate
cacheNodeIds, getCacheNodeIds, getMaxBins, getMaxDepth, getMaxMemoryInMB, getMinInfoGain, getMinInstancesPerNode, getOldStrategy, maxBins, maxDepth, maxMemoryInMB, minInfoGain, minInstancesPerNode, setCacheNodeIds, setCheckpointInterval, setMaxBins, setMaxDepth, setMaxMemoryInMB, setMinInfoGain, setMinInstancesPerNode, setSeed
validateAndTransformSchema
getLabelCol, labelCol
featuresCol, getFeaturesCol
getPredictionCol, predictionCol
clear, copy, copyValues, defaultCopy, defaultParamMap, explainParam, explainParams, extractParamMap, extractParamMap, get, getDefault, getOrDefault, getParam, hasDefault, hasParam, isDefined, isSet, paramMap, params, set, set, set, setDefault, setDefault, shouldOwn
toString, uid
checkpointInterval, getCheckpointInterval
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.
RandomForestParams setNumTrees(int value)
value
- (undocumented)