Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/erdogant/classeval

Evaluation of supervised predictions for two-class and multi-class classifiers
https://github.com/erdogant/classeval

auc classification evaluation-functions evaluation-metrics plot python receiver-operating-characteristic

Last synced: 28 days ago
JSON representation

Evaluation of supervised predictions for two-class and multi-class classifiers

Awesome Lists containing this project

README

        

# classeval

[![Python](https://img.shields.io/pypi/pyversions/classeval)](https://img.shields.io/pypi/pyversions/classeval)
[![PyPI Version](https://img.shields.io/pypi/v/classeval)](https://pypi.org/project/classeval/)
[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/erdogant/classeval/blob/master/LICENSE)
[![Forks](https://img.shields.io/github/forks/erdogant/classeval.svg)](https://github.com/erdogant/classeval/network)
[![Open Issues](https://img.shields.io/github/issues/erdogant/classeval.svg)](https://github.com/erdogant/classeval/issues)
[![Project Status](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active)
[![Downloads](https://pepy.tech/badge/classeval/month)](https://pepy.tech/project/classeval/)
[![Downloads](https://pepy.tech/badge/classeval)](https://pepy.tech/project/classeval)
[![DOI](https://zenodo.org/badge/246504758.svg)](https://zenodo.org/badge/latestdoi/246504758)
[![Docs](https://img.shields.io/badge/Sphinx-Docs-Green)](https://erdogant.github.io/classeval/)
[![Donate](https://img.shields.io/badge/Support%20this%20project-grey.svg?logo=github%20sponsors)](https://erdogant.github.io/classeval/pages/html/Documentation.html#)

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](https://erdogant.github.io/classeval/)

On the [documentation pages](https://erdogant.github.io/classeval/) you can find more information about ``classeval`` with examples.

#

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

### Import classeval package
```python
import classeval as clf

```


### Examples

#

#### [Example: Evaluate Two-class model](https://erdogant.github.io/classeval/pages/html/Examples.html)








#

#### [Example: Evaluate multi-class model](https://erdogant.github.io/classeval/pages/html/Examples.html#examples-multi-class-model)











#### [Example: Model performance tweaking](https://erdogant.github.io/classeval/pages/html/Examples.html#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](https://github.com/erdogant)
* Contributions are welcome.
* If you wish to buy me a Coffee for this work, it is very appreciated :)