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
,scala.Serializable
,TreeEnsembleClassifierParams
,TreeEnsembleParams
- All Known Implementing Classes:
GBTClassificationModel
,GBTClassifier
public interface GBTClassifierParams
extends GBTParams, TreeEnsembleClassifierParams, HasVarianceImpurity
-
Method Summary
Modifier 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.DecisionTreeParams
cacheNodeIds, getCacheNodeIds, getLeafCol, getMaxBins, getMaxDepth, getMaxMemoryInMB, getMinInfoGain, getMinInstancesPerNode, getMinWeightFractionPerNode, getOldStrategy, leafCol, maxBins, maxDepth, maxMemoryInMB, minInfoGain, minInstancesPerNode, minWeightFractionPerNode, setLeafCol
Methods inherited from interface org.apache.spark.ml.tree.GBTParams
getOldBoostingStrategy, getValidationTol, stepSize, validationTol
Methods inherited from interface org.apache.spark.ml.param.shared.HasCheckpointInterval
checkpointInterval, getCheckpointInterval
Methods inherited from interface org.apache.spark.ml.param.shared.HasFeaturesCol
featuresCol, getFeaturesCol
Methods inherited from interface org.apache.spark.ml.param.shared.HasLabelCol
getLabelCol, labelCol
Methods inherited from interface org.apache.spark.ml.param.shared.HasMaxIter
getMaxIter, maxIter
Methods inherited from interface org.apache.spark.ml.param.shared.HasPredictionCol
getPredictionCol, predictionCol
Methods inherited from interface org.apache.spark.ml.param.shared.HasProbabilityCol
getProbabilityCol, probabilityCol
Methods inherited from interface org.apache.spark.ml.param.shared.HasRawPredictionCol
getRawPredictionCol, rawPredictionCol
Methods inherited from interface org.apache.spark.ml.param.shared.HasStepSize
getStepSize
Methods inherited from interface org.apache.spark.ml.param.shared.HasThresholds
getThresholds, thresholds
Methods inherited from interface org.apache.spark.ml.param.shared.HasValidationIndicatorCol
getValidationIndicatorCol, validationIndicatorCol
Methods inherited from interface org.apache.spark.ml.tree.HasVarianceImpurity
getImpurity, getOldImpurity, impurity
Methods inherited from interface org.apache.spark.ml.param.shared.HasWeightCol
getWeightCol, weightCol
Methods inherited from interface org.apache.spark.ml.util.Identifiable
toString, uid
Methods inherited from interface org.apache.spark.ml.param.Params
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
Methods inherited from interface org.apache.spark.ml.tree.TreeEnsembleClassifierParams
validateAndTransformSchema
Methods inherited from interface org.apache.spark.ml.tree.TreeEnsembleParams
featureSubsetStrategy, getFeatureSubsetStrategy, getOldStrategy, getSubsamplingRate, subsamplingRate
-
Method Details
-
lossType
Loss function which GBT tries to minimize. (case-insensitive) Supported: "logistic" (default = logistic)- Returns:
- (undocumented)
-
getLossType
String getLossType() -
getOldLossType
ClassificationLoss getOldLossType()(private[ml]) Convert new loss to old loss.- Specified by:
getOldLossType
in interfaceGBTParams
-