FeaturesType
- Type of input features. E.g., Vector
E
- Concrete Estimator typeM
- Concrete Model typepublic abstract class Classifier<FeaturesType,E extends Classifier<FeaturesType,E,M>,M extends ClassificationModel<FeaturesType,M>> extends Predictor<FeaturesType,E,M> implements ClassifierParams
Single-label binary or multiclass classification. Classes are indexed {0, 1, ..., numClasses - 1}.
Constructor and Description |
---|
Classifier() |
Modifier and Type | Method and Description |
---|---|
E |
setRawPredictionCol(String value) |
copy, fit, setFeaturesCol, setLabelCol, setPredictionCol, transformSchema
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, paramMap, params, set, set, set, setDefault, setDefault, shouldOwn
toString, uid
getRawPredictionCol, rawPredictionCol
initializeLogging, initializeLogIfNecessary, initializeLogIfNecessary, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning
public E setRawPredictionCol(String value)