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.3.0.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

clscurves-0.3.0-py3-none-any.whl (27.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: clscurves-0.3.0.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.8.18 Linux/6.2.0-1019-azure

File hashes

Hashes for clscurves-0.3.0.tar.gz
Algorithm Hash digest
SHA256 d65251ea03a9dca46b401acf6bf3b918e6aebc263f55c4541e9f83eb2b7c978d
MD5 99c634ae3c7db22dfbdc066949a1ecf5
BLAKE2b-256 2d387b78d313821e4101c6944e05bef2c5306cf8f9afb7a347d408e62c248cad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: clscurves-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 27.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.8.18 Linux/6.2.0-1019-azure

File hashes

Hashes for clscurves-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a707b6e8b312555615ac9f9abcda89085b8a5f64957ba8202db45027f25beae1
MD5 3841dcae2ef9423243327a4f3db98678
BLAKE2b-256 f5f4dfdd98ccfe303e6dc0ce1f5fceb48754f79b4b756caf642b55358476e2ba

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