Class Classifier<FeaturesType,E extends Classifier<FeaturesType,E,M>,M extends ClassificationModel<FeaturesType,M>>

Object
org.apache.spark.ml.PipelineStage
org.apache.spark.ml.Estimator<M>
org.apache.spark.ml.Predictor<FeaturesType,E,M>
org.apache.spark.ml.classification.Classifier<FeaturesType,E,M>
Type Parameters:
FeaturesType - Type of input features. E.g., Vector
E - Concrete Estimator type
M - Concrete Model type
All Implemented Interfaces:
Serializable, org.apache.spark.internal.Logging, ClassifierParams, Params, HasFeaturesCol, HasLabelCol, HasPredictionCol, HasRawPredictionCol, PredictorParams, Identifiable
Direct Known Subclasses:
LinearSVC, ProbabilisticClassifier

public 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}.

See Also:
  • Constructor Details

    • Classifier

      public Classifier()
  • Method Details