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.0.4.tar.gz
(17.8 kB
view details)
Built Distribution
clscurves-0.0.4-py3-none-any.whl
(27.3 kB
view details)
File details
Details for the file clscurves-0.0.4.tar.gz
.
File metadata
- Download URL: clscurves-0.0.4.tar.gz
- Upload date:
- Size: 17.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.9.4 Darwin/21.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64dcb997cba5c6ed8476da6a0d19bad49d2672522dfacd1350568eb8f0419e74 |
|
MD5 | ddbda770d996e96aaae4e978a848a256 |
|
BLAKE2b-256 | 90db8fb74f8edb956d40f37a0fa58523904d0e16e8a789012bd8d590fd114eca |
File details
Details for the file clscurves-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: clscurves-0.0.4-py3-none-any.whl
- Upload date:
- Size: 27.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.9.4 Darwin/21.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d56582f9ee805f737cbd621eb77da4a0ca1ce04124600bce697e903d5075da7e |
|
MD5 | a8e8a511efdf176d9c0afb7ea81564e5 |
|
BLAKE2b-256 | 4963e4239e2c63d74e7c1fb1744bb77046c9531d8bbbccf5d6dec52566d221f7 |