evalml.pipelines.components.BaselineRegressor.__init__

BaselineRegressor.__init__(strategy='mean', random_state=0, **kwargs)[source]

Baseline regressor that uses a simple strategy to make predictions.

Parameters
  • strategy (str) – Method used to predict. Valid options are “mean”, “median”. Defaults to “mean”.

  • random_state (int) – Seed for the random number generator. Defaults to 0.