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

Uploaded Source

Built Distribution

clscurves-0.0.5-py3-none-any.whl (27.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: clscurves-0.0.5.tar.gz
  • Upload date:
  • Size: 17.8 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.5.tar.gz
Algorithm Hash digest
SHA256 8c4ce0cae69e57983fc6563f5829d87f6a92b19e88661cfc60922945ed3588e2
MD5 250e40f6b69c3a1ec195d43e11f74744
BLAKE2b-256 890b06572befa2aa5fd6d72827951fd1c0a172c7738a3a2c5d0c2b22b39e353f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: clscurves-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 27.3 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b267713dac2992ed73468391cc7b4d4004deef7dc32311db0f6f110ab5bb4826
MD5 a440449f54ff405732ee4bc1509f6c3f
BLAKE2b-256 38667e1e97ff8e08d0b020a8fd7d2d0e64c24fa327d1ca38b7a2ab8646189e6d

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