Skip to main content

Compute and plot bootstrapped performance curves for classification problems.

Project description

classification-curves

A library for computing and plotting bootstrapped metrics (ROC curves, Precision-Recall curves, etc.) to evaluate the performance of a classification model.

Example

mg = MetricsGenerator(
    predictions_df,
    label_column = "label",
    score_column = "score",
    weight_column = "weight",
    score_is_probability = False,
    reverse_thresh = False,
    num_bootstrap_samples = 20)

mg.plot_pr(bootstrapped = True)
mg.plot_roc()

Project details


Download files

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

Source Distribution

clscurves-0.1.0.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

clscurves-0.1.0-py3-none-any.whl (27.5 kB view details)

Uploaded Python 3

File details

Details for the file clscurves-0.1.0.tar.gz.

File metadata

  • Download URL: clscurves-0.1.0.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.8.15 Linux/5.15.0-1030-azure

File hashes

Hashes for clscurves-0.1.0.tar.gz
Algorithm Hash digest
SHA256 abee906bbac5aa9b482c74033daacc89779097c1291a24fe3ba0c45999328c0e
MD5 8a981d0c528e43d03f7bdac7aed0be4d
BLAKE2b-256 caa11c45c721711064de92918003616c452284f4172a3ba668e0210b48efd0dd

See more details on using hashes here.

File details

Details for the file clscurves-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: clscurves-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 27.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.8.15 Linux/5.15.0-1030-azure

File hashes

Hashes for clscurves-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6e274e3c565dedd909a81efc27a9a41d5a0668d5d268946e5578a9608a0ac252
MD5 b25fc11cff55755ea2c0c7e7004d69bb
BLAKE2b-256 c36d9b3fe35cbea541d91e1b102627741ccfbac23ebde1a642b4dbebbff4e8f7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page