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 :)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

classeval-0.3.0.tar.gz (19.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

classeval-0.3.0-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

File details

Details for the file classeval-0.3.0.tar.gz.

File metadata

  • Download URL: classeval-0.3.0.tar.gz
  • Upload date:
  • Size: 19.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.14

File hashes

Hashes for classeval-0.3.0.tar.gz
Algorithm Hash digest
SHA256 9a3b6555635ac483cdd3cfa4fd9a8a99d128cf28280d684db3e8104cd36acfb7
MD5 e3ff40e2f72c1fdad4b799c104c59202
BLAKE2b-256 28600475984ff49aa8faddfa6a9fcdb1011133dbffc97f0186bc3f0b8a3db5b7

See more details on using hashes here.

File details

Details for the file classeval-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: classeval-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 19.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.14

File hashes

Hashes for classeval-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 04d325301ce1ed85a04125876d885f751c69a1a2e7efe468d7f15694672554df
MD5 ebb599628b3da31d6a9ec9bb0ebb81c0
BLAKE2b-256 7438f904ebfec86947bc5139e58cc3e2c9ced1205ad29a4a7a6a8a42ab981de0

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.13

2 files

0.1.12

2 files

0.1.11

2 files

0.1.10

2 files

0.1.9

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

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