plot_precision_recall_curve¶
-
mastml.plot_helper.plot_precision_recall_curve(y_true, y_pred, savepath)[source]¶ Method to calculate and plot the precision-recall 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 precision-recall curve
Returns:
None