evalml.model_understanding.graph_prediction_vs_actual_over_time

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

Plot the target values and predictions against time on the x-axis.

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

Showing the prediction vs actual over time.

Return type

plotly.Figure