Arguments
This function internally uses scikit-learn function RandomForestRegressor through teradataml Open source ML functions.
Transformed data won’t have features column.
| PySpark Argument Name | Open Source Function Argument Name | Notes |
|---|---|---|
| predictionCol | Not yet available. | |
| numTrees | n_estimators | |
| maxDepth | max_depth | |
| maxBins | Not yet available. | |
| minInstancesPerNode | min_samples_split | PySpark takes int value (>= 1) default value is 1, teradatamlspk supports int value (>1) or float in (0.0, 1.0]. Default value is 1.0. |
| minInfoGain | Not yet available. | |
| maxMemoryInGB | Not yet available. | |
| cacheNodeIds | Not yet available. | |
| checkpointInterval | Not yet available. | |
| impurity | criterion | Supported Impurities ['mse', 'mae'] |
| featureSubsetStrategy | Not yet available. | |
| seed | random_state | |
| subsamplingRate | Not yet available. | |
| leafCol | Not yet available. | |
| minWeightFractionPerNode | min_weight_fraction_leaf | |
| weightCol | class_weight | |
| bootstrap | bootstrap |
Attributes/Methods
| Attribute/Method Name | Supported | Notes |
|---|---|---|
| clear | ||
| copy | ||
| explainParam | ||
| explainParams | ||
| extractParamMap | ||
| fit | ||
| fitMultiple | ||
| getBootstrap | ||
| getCacheNodeIds | ||
| getCheckpointInterval | ||
| getFeatureSubsetStrategy | ||
| getFeaturesCol | ||
| getImpurity | ||
| getLabelCol | ||
| getLeafCol | ||
| getMaxBins | ||
| getMaxDepth | ||
| getMaxMemoryInMB | ||
| getMinInfoGain | ||
| getMinInstancesPerNode | ||
| getMinWeightFractionPerNode | ||
| getNumTrees | ||
| getOrDefault | ||
| getParam | ||
| getPredictionCol | ||
| getSeed | ||
| getSubsamplingRate | ||
| getWeightCol | ||
| hasDefault | ||
| hasParam | ||
| isDefined | ||
| isSet | ||
| load | ||
| read | ||
| save | ||
| set | ||
| setBootstrap | ||
| setCacheNodeIds | ||
| setCheckpointInterval | ||
| setFeatureSubsetStrategy | ||
| setFeaturesCol | ||
| setImpurity | ||
| setLabelCol | ||
| setLeafCol | ||
| setMaxBins | ||
| setMaxDepth | ||
| setMaxMemoryInMB | ||
| setMinInfoGain | ||
| setMinInstancesPerNode | ||
| setMinWeightFractionPerNode | ||
| setNumTrees | ||
| setParams | ||
| setPredictionCol | ||
| setSeed | ||
| setSubSamplingRate | ||
| setWeightCol | ||
| write | ||
| bootstrap | ||
| cacheNodeIds | ||
| checkpointInterval | ||
| featureSubsetStrategy | ||
| featuresCol | ||
| impurity | ||
| labelCol | ||
| leafCol | ||
| maxBins | ||
| maxDepth | ||
| maxMemoryInMB | ||
| minInfoGain | ||
| minInstancesPerNode | ||
| minWeightFractionPerNode | ||
| numTrees | ||
| params | ||
| predictionCol | ||
| seed | ||
| subsamplingRate | ||
| supportedFeatureSubsetStrategies | ||
| supportedImpurities | ||
| weightCol |