BlueBrain / BlueBrain/morphoclass

Write HTML table with confusion matrix in the HTML reports

Open
#26 0 comments 0 reactions 0 assignees View on GitHub
📜 Paper 🔥 New Feature
Dominant language
Python
Stars
12
Forks
6
PR merge metrics
No merged PRs in 30d

Description

## Context
- As of now, when we run `morphoclass evaluate`, we generate a HTML report which includes various model performance metrics.
- A confusion matrix is also included in this HTML report. But this confusion matrix is a PNG image: https://github.com/BlueBrain/morphoclass/blob/8c60e050a39eee50aecf2eed5333eee61dd85e56/src/morphoclass/console/evaluate.py#L108-L125
![Screenshot from 2022-04-20 15-50-29](https://user-images.githubusercontent.com/17013890/164245763-62cde3d5-4bb2-4734-8b98-c985e14377d6.png)

- This is inconvenient, because we may need to access programmatically the values in these confusion matrices later on.

## Actions
- [ ] Replace the PNG image with the confusion matrix by a HTML `` element.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.