plot_average_cumulative_normalized_error¶
-
mastml.plot_helper.
plot_average_cumulative_normalized_error
(y_true, y_pred, savepath, has_model_errors, err_avg=None)[source]¶ Method to plot the cumulative normalized residual errors of a model prediction
Args:
y_true: (numpy array), array containing the true y data values
y_pred: (numpy array), array containing the predicted y data values
savepath: (str), path to save the plotted cumulative normalized error plot
model: (scikit-learn model/estimator object), a scikit-learn model object
X: (numpy array), array of X features
avg_stats: (dict), dict of calculated average metrics over all CV splits
Returns:
None