evalml.pipelines.components.BaselineRegressor¶
-
class
evalml.pipelines.components.
BaselineRegressor
(strategy='mean', random_seed=0, **kwargs)[source]¶ Regressor that predicts using the specified strategy.
This is useful as a simple baseline regressor to compare with other regressors.
-
name
= 'Baseline Regressor'¶
-
model_family
= 'baseline'¶
-
supported_problem_types
= [<ProblemTypes.REGRESSION: 'regression'>, <ProblemTypes.TIME_SERIES_REGRESSION: 'time series regression'>]¶
-
hyperparameter_ranges
= {}¶
-
default_parameters
= {'strategy': 'mean'}¶
-
predict_uses_y
= False¶
Instance attributes
feature_importance
Returns importance associated with each feature.
needs_fitting
parameters
Returns the parameters which were used to initialize the component
Methods:
Baseline regressor that uses a simple strategy to make predictions.
Constructs a new component with the same parameters and random state.
Describe a component and its parameters
Fits component to data
Loads component at file path
Make predictions using selected features.
Make probability estimates for labels.
Saves component at file path
-