locpix.visualise.performance.plot_pr_curve#
- plot_pr_curve(ax, label, linestyle, colour, precision, recall, baseline)[source]#
Plots the precision recall curve and saves
- Parameters:
ax (matplotlib figure) – Figure
label (string) – Label for the plot
linestyle (string) – Linestyle for the plot
colour (string) – Colour for the plot
precision (list) – List of precisions
recall (list) – List of recalls
baseline (float) – The baseline performance value
pickle (bool) – Whether to save the figure as pickle so can reload and replot
- Returns:
None