docs | |
---|---|
tests | |
package |
Precision-recall-gain curves for Python
- Free software: MIT license
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:
Windows | set PYTEST_ADDOPTS=--cov-append tox |
---|---|
Other | PYTEST_ADDOPTS=--cov-append tox |
- [Precision-Recall-Gain Curves: PR Analysis Done Right (2015) by Peter A. Flach and Meelis Kull](https://papers.nips.cc/paper/2015/file/33e8075e9970de0cfea955afd4644bb2-Paper.pdf)
- [sklearn-compatible implementation](scikit-learn/scikit-learn#24121) by [Bradley Fowler](https://github.com/bradleyfowler123)
- [Blog post by Bradley Fowler](https://snorkel.ai/improving-upon-precision-recall-and-f1-with-gain-metrics/)
- [Original implementation](https://github.com/meeliskull/prg) by [Meelis Kull](https://github.com/meeliskull)