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, np.random.RandomState) – seed for the random number generator