evalml.pipelines.components.
BaselineClassifier
Classifier that predicts using the specified strategy.
This is useful as a simple baseline classifier to compare with other classifiers.
name
model_family
supported_problem_types
hyperparameter_ranges
default_parameters
predict_uses_y
Instance attributes
classes_
Returns class labels.
feature_importance
Returns importance associated with each feature.
needs_fitting
parameters
Returns the parameters which were used to initialize the component
Methods:
__init__
Baseline classifier that uses a simple strategy to make predictions.
clone
Constructs a new component with the same parameters and random state.
describe
Describe a component and its parameters
fit
Fits component to data
load
Loads component at file path
predict
Make predictions using selected features.
predict_proba
Make probability estimates for labels.
save
Saves component at file path