Package org.apache.spark.ml.tree
Interface DecisionTreeClassifierParams
- All Superinterfaces:
- ClassifierParams,- DecisionTreeParams,- HasCheckpointInterval,- HasFeaturesCol,- HasLabelCol,- HasPredictionCol,- HasProbabilityCol,- HasRawPredictionCol,- HasSeed,- HasThresholds,- HasWeightCol,- Identifiable,- Params,- PredictorParams,- ProbabilisticClassifierParams,- Serializable,- TreeClassifierParams
- All Known Implementing Classes:
- DecisionTreeClassificationModel,- DecisionTreeClassifier
public interface DecisionTreeClassifierParams
extends DecisionTreeParams, TreeClassifierParams, ProbabilisticClassifierParams
- 
Method SummaryModifier and TypeMethodDescriptionvalidateAndTransformSchema(StructType schema, boolean fitting, DataType featuresDataType) Validates and transforms the input schema with the provided param map.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.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.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.HasThresholdsgetThresholds, thresholdsMethods 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, 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.TreeClassifierParamsgetImpurity, getOldImpurity, impurity
- 
Method Details- 
validateAndTransformSchemaStructType validateAndTransformSchema(StructType schema, boolean fitting, DataType featuresDataType) Description copied from interface:PredictorParamsValidates and transforms the input schema with the provided param map.- Specified by:
- validateAndTransformSchemain interface- ClassifierParams
- Specified by:
- validateAndTransformSchemain interface- PredictorParams
- Specified by:
- validateAndTransformSchemain interface- ProbabilisticClassifierParams
- Parameters:
- schema- input schema
- fitting- whether this is in fitting
- featuresDataType- SQL DataType for FeaturesType. E.g.,- VectorUDTfor vector features.
- Returns:
- output schema
 
 
-