DecisionTreeClassifierParams (Spark 4.2.0 JavaDoc)
- 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
-
Method Summary
Validates and transforms the input schema with the provided param map.
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.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, shouldOwn
-
Method Details
-
validateAndTransformSchema
Validates and transforms the input schema with the provided param map.
- Specified by:
validateAndTransformSchemain interfaceClassifierParams- Specified by:
validateAndTransformSchemain interfacePredictorParams- Specified by:
validateAndTransformSchemain interfaceProbabilisticClassifierParams- Parameters:
schema- input schemafitting- whether this is in fittingfeaturesDataType- SQL DataType for FeaturesType. E.g.,VectorUDTfor vector features.- Returns:
- output schema
-