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
validateAndTransformSchemaMethods inherited from interface org.apache.spark.ml.param.shared.HasFeaturesCol
featuresCol, getFeaturesColMethods inherited from interface org.apache.spark.ml.param.shared.HasLabelCol
getLabelCol, labelColMethods inherited from interface org.apache.spark.ml.param.shared.HasPredictionCol
getPredictionCol, predictionColMethods inherited from interface org.apache.spark.ml.param.shared.HasRawPredictionCol
getRawPredictionCol, rawPredictionColMethods inherited from interface org.apache.spark.ml.param.shared.HasWeightCol
getWeightCol, weightColMethods inherited from interface org.apache.spark.ml.util.Identifiable
toString, uidMethods 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>>
-