FeaturesType
- Type of input features. E.g., Vector
E
- Concrete Estimator typeM
- Concrete Model typepublic abstract class ProbabilisticClassifier<FeaturesType,E extends ProbabilisticClassifier<FeaturesType,E,M>,M extends ProbabilisticClassificationModel<FeaturesType,M>> extends Classifier<FeaturesType,E,M> implements ProbabilisticClassifierParams
Constructor and Description |
---|
ProbabilisticClassifier() |
Modifier and Type | Method and Description |
---|---|
Param<String> |
probabilityCol()
Param for Column name for predicted class conditional probabilities.
|
E |
setProbabilityCol(String value) |
E |
setThresholds(double[] value) |
DoubleArrayParam |
thresholds()
Param for Thresholds in multi-class classification to adjust the probability of predicting each class.
|
rawPredictionCol, setRawPredictionCol
copy, featuresCol, fit, labelCol, predictionCol, setFeaturesCol, setLabelCol, setPredictionCol, transformSchema
params
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
validateAndTransformSchema
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
getThresholds
$init$, initializeForcefully, initializeLogIfNecessary, initializeLogIfNecessary, initializeLogIfNecessary$default$2, initLock, isTraceEnabled, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning, org$apache$spark$internal$Logging$$log__$eq, org$apache$spark$internal$Logging$$log_, uninitialize
public final Param<String> probabilityCol()
HasProbabilityCol
probabilityCol
in interface HasProbabilityCol
public E setProbabilityCol(String value)
public E setThresholds(double[] value)
public DoubleArrayParam thresholds()
HasThresholds
thresholds
in interface HasThresholds