.. _example_plot_precision_recall.py:


================
Precision-Recall
================

Example of Precision-Recall metric to evaluate the quality
of the output of a classifier.



.. image:: images/plot_precision_recall_-1.png
    :align: center


**Python source code:** :download:`plot_precision_recall.py <plot_precision_recall.py>`

.. literalinclude:: plot_precision_recall.py
    :lines: 9-