Interface ProbabilisticClassifierParams
- All Superinterfaces:
ClassifierParams
,HasFeaturesCol
,HasLabelCol
,HasPredictionCol
,HasProbabilityCol
,HasRawPredictionCol
,HasThresholds
,Identifiable
,Params
,PredictorParams
,Serializable
- All Known Subinterfaces:
DecisionTreeClassifierParams
,FMClassifierParams
,GBTClassifierParams
,LogisticRegressionParams
,MultilayerPerceptronParams
,RandomForestClassifierParams
,TreeEnsembleClassifierParams
- All Known Implementing Classes:
DecisionTreeClassificationModel
,DecisionTreeClassifier
,FMClassificationModel
,FMClassifier
,GBTClassificationModel
,GBTClassifier
,LogisticRegression
,LogisticRegressionModel
,MultilayerPerceptronClassificationModel
,MultilayerPerceptronClassifier
,NaiveBayes
,NaiveBayesModel
,ProbabilisticClassificationModel
,ProbabilisticClassifier
,RandomForestClassificationModel
,RandomForestClassifier
public interface ProbabilisticClassifierParams
extends ClassifierParams, HasProbabilityCol, HasThresholds
(private[classification]) Params for probabilistic classification.
-
Method Summary
Modifier 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.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.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.HasThresholds
getThresholds, thresholds
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
-
Method Details
-
validateAndTransformSchema
StructType validateAndTransformSchema(StructType schema, boolean fitting, DataType featuresDataType) Description copied from interface:PredictorParams
Validates and transforms the input schema with the provided param map.- Specified by:
validateAndTransformSchema
in interfaceClassifierParams
- Specified by:
validateAndTransformSchema
in interfacePredictorParams
- Parameters:
schema
- input schemafitting
- whether this is in fittingfeaturesDataType
- SQL DataType for FeaturesType. E.g.,VectorUDT
for vector features.- Returns:
- output schema
-