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.3.1.tar.gz
(22.0 kB
view details)
Built Distribution
clscurves-0.3.1-py3-none-any.whl
(33.5 kB
view details)
File details
Details for the file clscurves-0.3.1.tar.gz
.
File metadata
- Download URL: clscurves-0.3.1.tar.gz
- Upload date:
- Size: 22.0 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 | 134dabbadd84d27d5253f848f19f12279d75ef1567843537d7f772700280116a |
|
MD5 | dceb60c0bbe93f4f54f05200863a0d95 |
|
BLAKE2b-256 | aaf3f15aa23236ab780413ec8ec573ab5ece9124bdd6d46865ebf2d5d7997ddb |
File details
Details for the file clscurves-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: clscurves-0.3.1-py3-none-any.whl
- Upload date:
- Size: 33.5 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 | c397df09b5110db1dd61cfd711bd1304b81728404884120b0dd6ff0137398e62 |
|
MD5 | 7545b9199fae23312731f9cea2cd9dc2 |
|
BLAKE2b-256 | 6a9e4c43a40c99f2e0aa1a7d4451d6afd7c6b981bd25949071e8bd606cb1e0b8 |