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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

contingency_tools-0.2.3.tar.gz (327.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

contingency_tools-0.2.3-py3-none-any.whl (329.3 kB view details)

Uploaded Python 3

File details

Details for the file contingency_tools-0.2.3.tar.gz.

File metadata

  • Download URL: contingency_tools-0.2.3.tar.gz
  • Upload date:
  • Size: 327.4 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for contingency_tools-0.2.3.tar.gz
Algorithm Hash digest
SHA256 94caa34b9f460e60b85e34491c832394cd43174446556bb610acdfcf7f1e6069
MD5 9dd7bfbf5fd084aa06bb24f4b24500b0
BLAKE2b-256 cf19805577acd3ddef215d77361679d2933bfa7446d3aabc5047439d5655c7b1

See more details on using hashes here.

File details

Details for the file contingency_tools-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: contingency_tools-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 329.3 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for contingency_tools-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d22cb9993b0e05b16ded3a28618cd55c01ee0eeefe3a3ce851d3d1ebd095f3fb
MD5 bdd1e2247c069908ba9bb5158ccc91c2
BLAKE2b-256 1bcdaa17d9ee9fc58390b139997910b09f451841774e736b78b9494231a915e4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page