evalml.pipelines.components.BaselineClassifier¶

-
class
evalml.pipelines.components.
BaselineClassifier
(strategy='mode', random_state=0)[source]¶ Classifier that predicts using the specified strategy.
This is useful as a simple baseline classifier to compare with other classifiers.
-
name
= 'Baseline Classifier'¶
-
model_family
= 'baseline'¶
-
supported_problem_types
= [<ProblemTypes.BINARY: 'binary'>, <ProblemTypes.MULTICLASS: 'multiclass'>]¶
-
hyperparameter_ranges
= {}¶
Instance attributes
feature_importances
Returns feature importances.
Methods:
Baseline classifier that uses a simple strategy to make predictions.
Describe a component and its parameters
Fits component to data
Make predictions using selected features.
Make probability estimates for labels.
-