

.. _example_plot_roc.py:


=======================================
Receiver operating characteristic (ROC)
=======================================

Example of Receiver operating characteristic (ROC) metric to
evaluate the quality of the output of a classifier.



.. rst-class:: horizontal





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

.. literalinclude:: plot_roc.py
    :lines: 9-

**Total running time of the example:**    0 seconds
    