public interface DecisionTreeClassifierParams extends DecisionTreeParams, TreeClassifierParams, ProbabilisticClassifierParams
Modifier and Type | Method and Description |
---|---|
StructType |
validateAndTransformSchema(StructType schema,
boolean fitting,
DataType featuresDataType)
Validates and transforms the input schema with the provided param map.
|
cacheNodeIds, getCacheNodeIds, getLeafCol, getMaxBins, getMaxDepth, getMaxMemoryInMB, getMinInfoGain, getMinInstancesPerNode, getMinWeightFractionPerNode, getOldStrategy, leafCol, maxBins, maxDepth, maxMemoryInMB, minInfoGain, minInstancesPerNode, minWeightFractionPerNode, setLeafCol
checkpointInterval, getCheckpointInterval
getWeightCol, weightCol
getImpurity, getOldImpurity, impurity
getLabelCol, labelCol
featuresCol, getFeaturesCol
getPredictionCol, predictionCol
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
toString, uid
getRawPredictionCol, rawPredictionCol
getProbabilityCol, probabilityCol
getThresholds, thresholds
StructType validateAndTransformSchema(StructType schema, boolean fitting, DataType featuresDataType)
PredictorParams
validateAndTransformSchema
in interface ClassifierParams
validateAndTransformSchema
in interface PredictorParams
validateAndTransformSchema
in interface ProbabilisticClassifierParams
schema
- input schemafitting
- whether this is in fittingfeaturesDataType
- SQL DataType for FeaturesType.
E.g., VectorUDT
for vector features.