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(
op_value=0.1,
bootstrapped=True,
bootstrap_alpha=0.05,
)
mg.plot_roc()
Project details
Release history Release notifications | RSS feed
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.3.tar.gz
(22.1 kB
view details)
Built Distribution
clscurves-0.3.3-py3-none-any.whl
(33.6 kB
view details)
File details
Details for the file clscurves-0.3.3.tar.gz
.
File metadata
- Download URL: clscurves-0.3.3.tar.gz
- Upload date:
- Size: 22.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.8.18 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 157b985bd8dff2cbe791a9223aab1373ac65da93d55040d173848e2cadb7d786 |
|
MD5 | fc15af07fc9a8ffcb1b84be105c0634f |
|
BLAKE2b-256 | 0a09886e27ce48f93b93265f27c85ae4e5de76b2e433c1c7881824ecb34dbbc1 |
File details
Details for the file clscurves-0.3.3-py3-none-any.whl
.
File metadata
- Download URL: clscurves-0.3.3-py3-none-any.whl
- Upload date:
- Size: 33.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.8.18 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fa7ef01b58d4fce1b4ee412fadb222461571e6addaaa353d69ce0890f7745c3 |
|
MD5 | 3b4ec5448b71468ee73978dcae22b7bb |
|
BLAKE2b-256 | 767730690e147aa0e0ff998824b3b820dec73c17ae096364b9219fd58939054f |