evalml.model_understanding.get_prediction_vs_actual_over_time_data

evalml.model_understanding.get_prediction_vs_actual_over_time_data(pipeline, X, y, dates)[source]

Get the data needed for the prediction_vs_actual_over_time plot.

Parameters
  • pipeline (TimeSeriesRegressionPipeline) – Fitted time series regression pipeline.

  • X (ww.DataTable, pd.DataFrame) – Features used to generate new predictions.

  • y (ww.DataColumn, pd.Series) – Target values to compare predictions against.

  • dates (ww.DataColumn, pd.Series) – Dates corresponding to target values and predictions.

Returns

pd.DataFrame