{"id":29927554,"url":"https://github.com/crypdick/precision-recall-gain","last_synced_at":"2025-08-02T13:11:24.659Z","repository":{"id":222919735,"uuid":"349806296","full_name":"crypdick/precision-recall-gain","owner":"crypdick","description":"Precision-recall-gain for Python","archived":false,"fork":false,"pushed_at":"2024-02-17T01:56:40.000Z","size":130,"stargazers_count":4,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-27T06:39:44.602Z","etag":null,"topics":["classification","machine-learning","metrics","precision","recall"],"latest_commit_sha":null,"homepage":"https://precision-recall-gain.readthedocs.io/en/latest/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/crypdick.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.rst","dei":null}},"created_at":"2021-03-20T18:33:26.000Z","updated_at":"2025-07-22T04:08:52.000Z","dependencies_parsed_at":"2024-02-17T01:43:29.629Z","dependency_job_id":null,"html_url":"https://github.com/crypdick/precision-recall-gain","commit_stats":null,"previous_names":["crypdick/precision-recall-gain"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/crypdick/precision-recall-gain","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crypdick%2Fprecision-recall-gain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crypdick%2Fprecision-recall-gain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crypdick%2Fprecision-recall-gain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crypdick%2Fprecision-recall-gain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crypdick","download_url":"https://codeload.github.com/crypdick/precision-recall-gain/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crypdick%2Fprecision-recall-gain/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268394109,"owners_count":24243356,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["classification","machine-learning","metrics","precision","recall"],"created_at":"2025-08-02T13:11:11.612Z","updated_at":"2025-08-02T13:11:24.650Z","avatar_url":"https://github.com/crypdick.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"========\nOverview\n========\n\n.. start-badges\n\n.. list-table::\n    :stub-columns: 1\n\n    * - docs\n      - |docs|\n    * - tests\n      - | |github-actions|\n        | |coveralls| |codecov|\n        | |scrutinizer|\n    * - package\n      - | |version| |wheel| |supported-versions| |supported-implementations|\n        | |commits-since|\n.. |docs| image:: https://readthedocs.org/projects/precision-recall-gain/badge/?style=flat\n    :target: https://precision-recall-gain.readthedocs.io/\n    :alt: Documentation Status\n\n.. |github-actions| image:: https://github.com/crypdick/precision-recall-gain/actions/workflows/github-actions.yml/badge.svg\n    :alt: GitHub Actions Build Status\n    :target: https://github.com/crypdick/precision-recall-gain/actions\n\n.. |coveralls| image:: https://coveralls.io/repos/github/crypdick/precision-recall-gain/badge.svg?branch=master\n    :alt: Coverage Status\n    :target: https://coveralls.io/github/crypdick/precision-recall-gain?branch=master\n\n.. |codecov| image:: https://codecov.io/gh/crypdick/precision-recall-gain/branch/master/graphs/badge.svg?branch=master\n    :alt: Coverage Status\n    :target: https://app.codecov.io/github/crypdick/precision-recall-gain\n\n.. |version| image:: https://img.shields.io/pypi/v/precision-recall-gain.svg\n    :alt: PyPI Package latest release\n    :target: https://pypi.org/project/precision-recall-gain\n\n.. |wheel| image:: https://img.shields.io/pypi/wheel/precision-recall-gain.svg\n    :alt: PyPI Wheel\n    :target: https://pypi.org/project/precision-recall-gain\n\n.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/precision-recall-gain.svg\n    :alt: Supported versions\n    :target: https://pypi.org/project/precision-recall-gain\n\n.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/precision-recall-gain.svg\n    :alt: Supported implementations\n    :target: https://pypi.org/project/precision-recall-gain\n\n.. |commits-since| image:: https://img.shields.io/github/commits-since/crypdick/precision-recall-gain/v0.1.3.svg\n    :alt: Commits since latest release\n    :target: https://github.com/crypdick/precision-recall-gain/compare/v0.1.3...master\n\n\n.. |scrutinizer| image:: https://img.shields.io/scrutinizer/quality/g/crypdick/precision-recall-gain/master.svg\n    :alt: Scrutinizer Status\n    :target: https://scrutinizer-ci.com/g/crypdick/precision-recall-gain/\n\n\n.. end-badges\n\nPrecision-recall-gain curves for Python\n\n* Free software: MIT license\n\nInstallation\n============\n\n::\n\n    pip install precision-recall-gain\n\nYou can also install the in-development version with::\n\n    pip install https://github.com/crypdick/precision-recall-gain/archive/master.zip\n\n\nDocumentation\n=============\n\n\nhttps://precision-recall-gain.readthedocs.io/\n\n\nDevelopment\n===========\n\nTo run all the tests run::\n\n    tox\n\nNote, to combine the coverage data from all the tox environments run:\n\n.. list-table::\n    :widths: 10 90\n    :stub-columns: 1\n\n    - - Windows\n      - ::\n\n            set PYTEST_ADDOPTS=--cov-append\n            tox\n\n    - - Other\n      - ::\n\n            PYTEST_ADDOPTS=--cov-append tox\n\nReferences\n===========\n* [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)\n* [sklearn-compatible implementation](https://github.com/scikit-learn/scikit-learn/pull/24121) by [Bradley Fowler](https://github.com/bradleyfowler123)\n* [Blog post by Bradley Fowler](https://snorkel.ai/improving-upon-precision-recall-and-f1-with-gain-metrics/)\n* [Original implementation](https://github.com/meeliskull/prg) by [Meelis Kull](https://github.com/meeliskull)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrypdick%2Fprecision-recall-gain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrypdick%2Fprecision-recall-gain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrypdick%2Fprecision-recall-gain/lists"}