plot_roc_curve¶
-
mastml.plot_helper.
plot_roc_curve
(y_true, y_pred, savepath)[source]¶ Method to calculate and plot the receiver-operator characteristic curve for classification model results
Args:
y_true: (numpy array), array of true y data values
y_pred: (numpy array), array of predicted y data values
savepath: (str), path to save the plotted ROC curve
Returns:
None