Skip to main content

Contingency

Fast, vectorized metrology with binary contingency counts.

Rapidly calculate binary classifier metrics like MCC, F-Scores, and Average Precision Scores from scalar and binary predictions.

For an overview of features, usage, and performance, see the documentation site. The canonical entry for this publication on the NIST data repository is available at doi:10.18434/mds2-4079.

Installation

contingency can be installed from PyPI:

pip install contingency-tools

If you would like access to the most recent/unstable version on GitHub (before a release):

pip install git+https://github.com/usnistgov/Contingency.git

For access to the NIST PDR entry for contingency, see data.nist.gov.

Contact the PI

Rachael Sexton

  • rachael.sexton@nist.gov
  • NIST Engineering Laboratory
  • Systems Integration Division
  • Information Modeling & Testing Group

Metadata

Release files for contingency-tools 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for contingency-tools 0.2.4
File Size Uploaded Provenance Actions
contingency_tools-0.2.4.tar.gz 37.6 kB Without provenance Details for contingency_tools-0.2.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for contingency-tools 0.2.4
File Interpreter ABI Platform Actions
contingency_tools-0.2.4-py3-none-any.whl Python 3 none any Details for contingency_tools-0.2.4-py3-none-any.whl

Total release size: 83.0 kB

Release files / contingency_tools-0.2.4.tar.gz

Download URL contingency_tools-0.2.4.tar.gz
Size 37.6 kB
Tags Source
SHA-256 checksum
How to use checksums
08e8edfb6378231ae74a13406bddf4872aa34c817127d42bc165d3649227c108
BLAKE2b-256 checksum
How to use checksums
7e277c82c570249e6d098c7f034e595d97b305c972819e6983cd2c8f681cfe57
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Manjaro Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / contingency_tools-0.2.4-py3-none-any.whl

Download URL contingency_tools-0.2.4-py3-none-any.whl
Size 45.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8c34e0984fc76642427e9aede36f2092e2a4c78c4ec295949f3c3258286a9677
BLAKE2b-256 checksum
How to use checksums
f4d82436c90c5b4531929898ccaac3682175096a5900b875500219976547e41b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Manjaro Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for contingency-tools 0.2.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page