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.4.0.tar.gz
(22.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
clscurves-0.4.0-py3-none-any.whl
(33.6 kB
view details)
File details
Details for the file clscurves-0.4.0.tar.gz.
File metadata
- Download URL: clscurves-0.4.0.tar.gz
- Upload date:
- Size: 22.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.16 Linux/6.8.0-1021-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2bcf231184b8afabe0417c2f22d7cf47b335dbf3c6854ab4a2859ec136ccf570
|
|
| MD5 |
b3135c89d44da2264abd77bdd9764f6b
|
|
| BLAKE2b-256 |
b61dca2e7d13dfa814eb56a6872836b6a7706f2810d8d30169507033bd5adabd
|
File details
Details for the file clscurves-0.4.0-py3-none-any.whl.
File metadata
- Download URL: clscurves-0.4.0-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.10.16 Linux/6.8.0-1021-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87aec8329a97454a0728ad595bf0faa6eb1c3570ea9002acd23b3972c1a4266f
|
|
| MD5 |
a16752d361bade9e9cf473e4cd40a1bc
|
|
| BLAKE2b-256 |
6d2bcb5731e4231d9c3dba9fdd825e3b1fa65d3de00b983235a6df6570227151
|