semvec/pypi-packages huggingface dataset:
complete-confusion 0.1.0
Performance evaluation and visualization with one function call
License: Apache 2.0
Requires Python: <4.0,>=3.10

# Complete Confusion

A simple call to visualize performance metrics for classification and regression models.


## Installation

```bash
pip install complete-confusion
```

## Usage

```python
import complete_confusion as cc

# Example data
predictions = [0, 1, 0, 2, 1, 2, 0]
trues = [0, 1, 0, 2, 0, 2, 2]
classes = ["Class 0", "Class 1", "Class 2"]
output_path = "confusion_matrix.html"

cc.export_confusion_matrix_to_html(predictions, trues, classes, output_path)
```


## Development

```bash
poetry install
poetry shell
python evaluate.py
```