evalml.pipelines.MeanBaselineRegressionPipeline.fit

MeanBaselineRegressionPipeline.fit(X, y)

Build a regression model.

Parameters
  • X (ww.DataTable, pd.DataFrame or np.ndarray) – The input training data of shape [n_samples, n_features]

  • y (ww.DataColumn, pd.Series, np.ndarray) – The target training data of length [n_samples]

Returns

self