https://github.com/crypdick/precision-recall-gain

Precision-recall-gain for Python

https://github.com/crypdick/precision-recall-gain

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    1 of 2 committers (50.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.6%) to scientific vocabulary

Keywords

classification machine-learning metrics precision recall
Last synced: 5 months ago · JSON representation

Repository

Precision-recall-gain for Python

Basic Info
Statistics
  • Stars: 4
  • Watchers: 2
  • Forks: 0
  • Open Issues: 2
  • Releases: 1
Topics
classification machine-learning metrics precision recall
Created almost 5 years ago · Last pushed about 2 years ago
Metadata Files
Readme Changelog Contributing License Authors

README.rst

========
Overview
========

.. 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

* Free software: MIT license

Installation
============

::

    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


Documentation
=============


https://precision-recall-gain.readthedocs.io/


Development
===========

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

References
===========
* [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](https://github.com/scikit-learn/scikit-learn/pull/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)

Owner

  • Name: Richard Decal
  • Login: crypdick
  • Kind: user
  • Location: USA
  • Company: Dendra.io

Lead ML Engineer at Dendra, planting a trillion trees with drones + ML

GitHub Events

Total
  • Issues event: 1
  • Watch event: 2
  • Issue comment event: 3
Last Year
  • Issues event: 1
  • Watch event: 2
  • Issue comment event: 3

Committers

Last synced: 7 months ago

All Time
  • Total Commits: 47
  • Total Committers: 2
  • Avg Commits per committer: 23.5
  • Development Distribution Score (DDS): 0.277
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Richard Decal p****c@r****m 34
Richard Decal r****l@n****u 13
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 7 months ago

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 6 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 3
  • Total maintainers: 1
pypi.org: precision-recall-gain

Precision-recall-gain curves for Python

  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 6 Last month
Rankings
Dependent packages count: 10.1%
Dependent repos count: 21.6%
Average: 32.9%
Downloads: 66.9%
Maintainers (1)
Last synced: 7 months ago

Dependencies

.github/workflows/github-actions.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • actions/upload-artifact v3 composite
  • codecov/codecov-action v3 composite
  • coverallsapp/github-action v2 composite
  • docker/setup-qemu-action v2 composite
ci/requirements.txt pypi
  • pip >=19.1.1
  • setuptools >=18.0.1
  • six >=1.14.0
  • tox *
  • twine *
  • virtualenv >=16.6.0
docs/requirements.txt pypi
  • sphinx >=1.3
  • sphinx-rtd-theme *
pyproject.toml pypi
setup.py pypi
  • scikit-learn >=1.1