plot_scatter_predictions

plot_scatter_predictions(y, y_pred, title=None)[source]

Plot a scatter that compares actual and predicted values for a given dataset.

This scatter is generally useful for plotting predictions for Time Series Extrinsic Regression approaches, since the output is continuous. In case of Time Series Classification it will be similar to a confusion matrix.

Parameters:
y: np.array

Actual values.

y_pred: np.array

Predicted values.

title: str, default = None

Title to be shown in the top of the plot.

Returns:
figmatplotlib.figure.Figure
axmatplotlib.axes.Axes