Interface OneVsRestParams
- All Superinterfaces:
ClassifierParams
,ClassifierTypeTrait
,HasFeaturesCol
,HasLabelCol
,HasPredictionCol
,HasRawPredictionCol
,HasWeightCol
,Identifiable
,Params
,PredictorParams
,Serializable
- All Known Implementing Classes:
OneVsRest
,OneVsRestModel
Params for
OneVsRest
.-
Method Summary
Modifier and TypeMethodDescriptionParam<Classifier<?,
? extends Classifier<Object, Classifier, ClassificationModel>, ? extends ClassificationModel<Object, ClassificationModel>>> param for the base binary classifier that we reduce multiclass classification into.Classifier<?,
? extends Classifier<Object, Classifier, ClassificationModel>, ? extends ClassificationModel<Object, ClassificationModel>> Methods inherited from interface org.apache.spark.ml.classification.ClassifierParams
validateAndTransformSchema
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.HasRawPredictionCol
getRawPredictionCol, rawPredictionCol
Methods inherited from interface org.apache.spark.ml.param.shared.HasWeightCol
getWeightCol, weightCol
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
-
classifier
Param<Classifier<?,? extends Classifier<Object, classifier()Classifier, ClassificationModel>, ? extends ClassificationModel<Object, ClassificationModel>>> param for the base binary classifier that we reduce multiclass classification into. The base classifier input and output columns are ignored in favor of the ones specified inOneVsRest
.- Returns:
- (undocumented)
-
getClassifier
Classifier<?,? extends Classifier<Object, getClassifier()Classifier, ClassificationModel>, ? extends ClassificationModel<Object, ClassificationModel>>
-