Skip to main content

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(
    op_value=0.1,
    bootstrapped=True,
    bootstrap_alpha=0.05,
)
mg.plot_roc()

Example PR curve Example ROC curve

Metadata

Release files for clscurves 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for clscurves 0.4.0
File Size Uploaded Provenance Actions
clscurves-0.4.0.tar.gz 22.1 kB Without provenance Details for clscurves-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for clscurves 0.4.0
File Interpreter ABI Platform Actions
clscurves-0.4.0-py3-none-any.whl Python 3 none any Details for clscurves-0.4.0-py3-none-any.whl

Total release size: 55.8 kB

Release files / clscurves-0.4.0.tar.gz

Download URL clscurves-0.4.0.tar.gz
Size 22.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2bcf231184b8afabe0417c2f22d7cf47b335dbf3c6854ab4a2859ec136ccf570
BLAKE2b-256 checksum
How to use checksums
b61dca2e7d13dfa814eb56a6872836b6a7706f2810d8d30169507033bd5adabd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.10.16 Linux/6.8.0-1021-azure

Release files / clscurves-0.4.0-py3-none-any.whl

Download URL clscurves-0.4.0-py3-none-any.whl
Size 33.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
87aec8329a97454a0728ad595bf0faa6eb1c3570ea9002acd23b3972c1a4266f
BLAKE2b-256 checksum
How to use checksums
6d2bcb5731e4231d9c3dba9fdd825e3b1fa65d3de00b983235a6df6570227151
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.10.16 Linux/6.8.0-1021-azure

Security for clscurves 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page