Package org.apache.spark.ml.tree
Interface GBTRegressorParams
- All Superinterfaces:
DecisionTreeParams,GBTParams,HasCheckpointInterval,HasFeaturesCol,HasLabelCol,HasMaxIter,HasPredictionCol,HasSeed,HasStepSize,HasValidationIndicatorCol,HasVarianceImpurity,HasWeightCol,Identifiable,Params,PredictorParams,Serializable,TreeEnsembleParams,TreeEnsembleRegressorParams,TreeRegressorParams
- All Known Implementing Classes:
GBTRegressionModel,GBTRegressor
public interface GBTRegressorParams
extends GBTParams, TreeEnsembleRegressorParams, TreeRegressorParams
-
Method Summary
Modifier and TypeMethodDescriptionconvertToOldLossType(String loss) (private[ml]) Convert new loss to old loss.lossType()Loss function which GBT tries to minimize.Methods inherited from interface org.apache.spark.ml.tree.DecisionTreeParams
cacheNodeIds, getCacheNodeIds, getLeafCol, getMaxBins, getMaxDepth, getMaxMemoryInMB, getMinInfoGain, getMinInstancesPerNode, getMinWeightFractionPerNode, getOldStrategy, leafCol, maxBins, maxDepth, maxMemoryInMB, minInfoGain, minInstancesPerNode, minWeightFractionPerNode, setLeafColMethods inherited from interface org.apache.spark.ml.tree.GBTParams
getOldBoostingStrategy, getValidationTol, stepSize, validationTolMethods inherited from interface org.apache.spark.ml.param.shared.HasCheckpointInterval
checkpointInterval, getCheckpointIntervalMethods inherited from interface org.apache.spark.ml.param.shared.HasFeaturesCol
featuresCol, getFeaturesColMethods inherited from interface org.apache.spark.ml.param.shared.HasLabelCol
getLabelCol, labelColMethods inherited from interface org.apache.spark.ml.param.shared.HasMaxIter
getMaxIter, maxIterMethods inherited from interface org.apache.spark.ml.param.shared.HasPredictionCol
getPredictionCol, predictionColMethods inherited from interface org.apache.spark.ml.param.shared.HasStepSize
getStepSizeMethods inherited from interface org.apache.spark.ml.param.shared.HasValidationIndicatorCol
getValidationIndicatorCol, validationIndicatorColMethods inherited from interface org.apache.spark.ml.tree.HasVarianceImpurity
getImpurity, getOldImpurity, impurityMethods inherited from interface org.apache.spark.ml.param.shared.HasWeightCol
getWeightCol, weightColMethods inherited from interface org.apache.spark.ml.util.Identifiable
toString, uidMethods inherited from interface org.apache.spark.ml.param.Params
clear, copy, copyValues, defaultCopy, defaultParamMap, estimateMatadataSize, explainParam, explainParams, extractParamMap, extractParamMap, get, getDefault, getOrDefault, getParam, hasDefault, hasParam, isDefined, isSet, onParamChange, paramMap, params, set, set, set, setDefault, setDefault, shouldOwnMethods inherited from interface org.apache.spark.ml.tree.TreeEnsembleParams
featureSubsetStrategy, getFeatureSubsetStrategy, getOldStrategy, getSubsamplingRate, subsamplingRateMethods inherited from interface org.apache.spark.ml.tree.TreeEnsembleRegressorParams
validateAndTransformSchema
-
Method Details
-
lossType
Loss function which GBT tries to minimize. (case-insensitive) Supported: "squared" (L2) and "absolute" (L1) (default = squared)- Returns:
- (undocumented)
-
getLossType
String getLossType() -
getOldLossType
Loss getOldLossType()(private[ml]) Convert new loss to old loss.- Specified by:
getOldLossTypein interfaceGBTParams
-
convertToOldLossType
-