Skip to main content

classeval

Python PyPI Version License Forks Open Issues Project Status Downloads Downloads DOI Docs Donate

The library classeval is developed to evaluate the models performance of any kind of two-class or multi-class model. classeval computes many scoring measures in case of a two-class clasification model. Some measures are utilized from sklearn, among them AUC, MCC, Cohen kappa score, matthews correlation coefficient, whereas others are custom. This library can help to consistenly compare the output of various models. In addition, it can also give insights in tuning the models performance as the the threshold being used can be adjusted and evaluated. The output of classeval can subsequently plotted in terms of ROC curves, confusion matrices, class distributions, and probability plots. Such plots can help in better understanding of the results.

⭐️ Star this repo if you like it ⭐️

Documentation pages

On the documentation pages you can find more information about classeval with examples.

Install classeval from PyPI
pip install classeval     # normal install
pip install -U classeval  # update if needed

Import classeval package

import classeval as clf

Examples

Example: Evaluate Two-class model


Example: Evaluate multi-class model



Example: Model performance tweaking



Contribute

  • All kinds of contributions are welcome!

Citation

Please cite classeval in your publications if this is useful for your research. See column right for citation information.

Maintainer

  • Erdogan Taskesen, github: erdogant
  • Contributions are welcome.
  • If you wish to buy me a Coffee for this work, it is very appreciated :)

Metadata

Release files for classeval 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for classeval 0.3.0
File Size Uploaded Provenance Actions
classeval-0.3.0.tar.gz 19.2 kB Without provenance Details for classeval-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for classeval 0.3.0
File Interpreter ABI Platform Actions
classeval-0.3.0-py3-none-any.whl Python 3 none any Details for classeval-0.3.0-py3-none-any.whl

Total release size: 38.9 kB

Release files / classeval-0.3.0.tar.gz

Download URL classeval-0.3.0.tar.gz
Size 19.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9a3b6555635ac483cdd3cfa4fd9a8a99d128cf28280d684db3e8104cd36acfb7
BLAKE2b-256 checksum
How to use checksums
28600475984ff49aa8faddfa6a9fcdb1011133dbffc97f0186bc3f0b8a3db5b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / classeval-0.3.0-py3-none-any.whl

Download URL classeval-0.3.0-py3-none-any.whl
Size 19.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
04d325301ce1ed85a04125876d885f751c69a1a2e7efe468d7f15694672554df
BLAKE2b-256 checksum
How to use checksums
7438f904ebfec86947bc5139e58cc3e2c9ced1205ad29a4a7a6a8a42ab981de0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Security for classeval 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page