Package org.apache.spark.ml.tree
Interface GBTClassifierParams
- All Superinterfaces:
- ClassifierParams,- DecisionTreeParams,- GBTParams,- HasCheckpointInterval,- HasFeaturesCol,- HasLabelCol,- HasMaxIter,- HasPredictionCol,- HasProbabilityCol,- HasRawPredictionCol,- HasSeed,- HasStepSize,- HasThresholds,- HasValidationIndicatorCol,- HasVarianceImpurity,- HasWeightCol,- Identifiable,- Params,- PredictorParams,- ProbabilisticClassifierParams,- Serializable,- TreeEnsembleClassifierParams,- TreeEnsembleParams
- All Known Implementing Classes:
- GBTClassificationModel,- GBTClassifier
public interface GBTClassifierParams
extends GBTParams, TreeEnsembleClassifierParams, HasVarianceImpurity
- 
Method SummaryModifier and TypeMethodDescription(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.DecisionTreeParamscacheNodeIds, 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.GBTParamsgetOldBoostingStrategy, getValidationTol, stepSize, validationTolMethods inherited from interface org.apache.spark.ml.param.shared.HasCheckpointIntervalcheckpointInterval, getCheckpointIntervalMethods inherited from interface org.apache.spark.ml.param.shared.HasFeaturesColfeaturesCol, getFeaturesColMethods inherited from interface org.apache.spark.ml.param.shared.HasLabelColgetLabelCol, labelColMethods inherited from interface org.apache.spark.ml.param.shared.HasMaxItergetMaxIter, maxIterMethods inherited from interface org.apache.spark.ml.param.shared.HasPredictionColgetPredictionCol, predictionColMethods inherited from interface org.apache.spark.ml.param.shared.HasProbabilityColgetProbabilityCol, probabilityColMethods inherited from interface org.apache.spark.ml.param.shared.HasRawPredictionColgetRawPredictionCol, rawPredictionColMethods inherited from interface org.apache.spark.ml.param.shared.HasStepSizegetStepSizeMethods inherited from interface org.apache.spark.ml.param.shared.HasThresholdsgetThresholds, thresholdsMethods inherited from interface org.apache.spark.ml.param.shared.HasValidationIndicatorColgetValidationIndicatorCol, validationIndicatorColMethods inherited from interface org.apache.spark.ml.tree.HasVarianceImpuritygetImpurity, getOldImpurity, impurityMethods inherited from interface org.apache.spark.ml.param.shared.HasWeightColgetWeightCol, weightColMethods inherited from interface org.apache.spark.ml.util.IdentifiabletoString, uidMethods inherited from interface org.apache.spark.ml.param.Paramsclear, 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.TreeEnsembleClassifierParamsvalidateAndTransformSchemaMethods inherited from interface org.apache.spark.ml.tree.TreeEnsembleParamsfeatureSubsetStrategy, getFeatureSubsetStrategy, getOldStrategy, getSubsamplingRate, subsamplingRate
- 
Method Details- 
lossTypeLoss function which GBT tries to minimize. (case-insensitive) Supported: "logistic" (default = logistic)- Returns:
- (undocumented)
 
- 
getLossTypeString getLossType()
- 
getOldLossTypeClassificationLoss getOldLossType()(private[ml]) Convert new loss to old loss.- Specified by:
- getOldLossTypein interface- GBTParams
 
 
-