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
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.2.0.tar.gz
(17.3 kB
view details)
Built Distribution
clscurves-0.2.0-py3-none-any.whl
(27.8 kB
view details)
File details
Details for the file clscurves-0.2.0.tar.gz
.
File metadata
- Download URL: clscurves-0.2.0.tar.gz
- Upload date:
- Size: 17.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.8.17 Linux/5.15.0-1042-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e32eccb6d06a285247f652dd9d925900290e7291c7605af30b7953a9fc5c3175 |
|
MD5 | 2b3976b0bf98f55583cdd83069bdb3d8 |
|
BLAKE2b-256 | e719ee99d12af5d05d5132468d82412852b8a23ee2409093436c0125e65f6bb1 |
File details
Details for the file clscurves-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: clscurves-0.2.0-py3-none-any.whl
- Upload date:
- Size: 27.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.8.17 Linux/5.15.0-1042-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c84f2b7fd419f71c0e2e2bed43cbd229e8b3cc428a1e5d6f15b4a4b901df7ae5 |
|
MD5 | 9503b98e0f53003f39fd85ed15e27459 |
|
BLAKE2b-256 | 54de7f45000ca2f67db02bf7403ec18ad2619fc733a20f415b8d7e9a39cc66d0 |