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

Uploaded Source

Built Distribution

clscurves-0.0.3-py3-none-any.whl (27.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: clscurves-0.0.3.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.9.4 Darwin/21.3.0

File hashes

Hashes for clscurves-0.0.3.tar.gz
Algorithm Hash digest
SHA256 79522fd2b2bc6333ad9183c5709128af55da12171b6c45923f76f78bfa91fbbe
MD5 0d962f1475486c170b9c595339b67791
BLAKE2b-256 48bb732ec90bb76b64d5a302cc768dc432cd8f1ccbb16c9a15dbe231adf46aa0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: clscurves-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 27.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.9.4 Darwin/21.3.0

File hashes

Hashes for clscurves-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2336b953eb7c2375e21fdb816365683a0f1aba5ed51995d3c2127fed1d5d0669
MD5 fb1a06949a22ac159758b00f858e7f02
BLAKE2b-256 ba55e421bed660dd63616e8a7e35e3c77d8a41536a01d1f151e57544707df815

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