evalml.pipelines.components.BaselineRegressor.__init__

BaselineRegressor.__init__(strategy='mean', random_seed=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_seed (int) – Seed for the random number generator. Defaults to 0.