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 (pd.DataFrame) – Features used to generate new predictions.
y (pd.Series) – Target values to compare predictions against.
dates (pd.Series) – Dates corresponding to target values and predictions.
- Returns
pd.DataFrame