.. start-badges
.. list-table:: :stub-columns: 1
* - docs
- |docs|
* - tests
- | |github-actions|
| |coveralls| |codecov|
| |scrutinizer|
* - package
- | |version| |wheel| |supported-versions| |supported-implementations|
| |commits-since|
.. |docs| image:: https://readthedocs.org/projects/precision-recall-gain/badge/?style=flat :target: https://precision-recall-gain.readthedocs.io/ :alt: Documentation Status
.. |github-actions| image:: https://github.com/crypdick/precision-recall-gain/actions/workflows/github-actions.yml/badge.svg :alt: GitHub Actions Build Status :target: https://github.com/crypdick/precision-recall-gain/actions
.. |coveralls| image:: https://coveralls.io/repos/github/crypdick/precision-recall-gain/badge.svg?branch=master :alt: Coverage Status :target: https://coveralls.io/github/crypdick/precision-recall-gain?branch=master
.. |codecov| image:: https://codecov.io/gh/crypdick/precision-recall-gain/branch/master/graphs/badge.svg?branch=master :alt: Coverage Status :target: https://app.codecov.io/github/crypdick/precision-recall-gain
.. |version| image:: https://img.shields.io/pypi/v/precision-recall-gain.svg :alt: PyPI Package latest release :target: https://pypi.org/project/precision-recall-gain
.. |wheel| image:: https://img.shields.io/pypi/wheel/precision-recall-gain.svg :alt: PyPI Wheel :target: https://pypi.org/project/precision-recall-gain
.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/precision-recall-gain.svg :alt: Supported versions :target: https://pypi.org/project/precision-recall-gain
.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/precision-recall-gain.svg :alt: Supported implementations :target: https://pypi.org/project/precision-recall-gain
.. |commits-since| image:: https://img.shields.io/github/commits-since/crypdick/precision-recall-gain/v0.1.3.svg :alt: Commits since latest release :target: https://github.com/crypdick/precision-recall-gain/compare/v0.1.3...master
.. |scrutinizer| image:: https://img.shields.io/scrutinizer/quality/g/crypdick/precision-recall-gain/master.svg :alt: Scrutinizer Status :target: https://scrutinizer-ci.com/g/crypdick/precision-recall-gain/
.. end-badges
Precision-recall-gain curves for Python
::
pip install precision-recall-gain
You can also install the in-development version with::
pip install https://github.com/crypdick/precision-recall-gain/archive/master.zip
https://precision-recall-gain.readthedocs.io/
To run all the tests run::
tox
Note, to combine the coverage data from all the tox environments run:
.. list-table:: :widths: 10 90 :stub-columns: 1
- - Windows
- ::
set PYTEST_ADDOPTS=--cov-append
tox
- - Other
- ::
PYTEST_ADDOPTS=--cov-append tox