Dynamic Confusion Matrix

Hi Streamlit-community!

I’m trying to plot confusion matrices so I can evaluate models, but I’m struggling to find a proper way of displaying them. Using Seaborn the plots aren’t always readable and I can’t find a way to scale the generated Streamlit image. With Altair scaling is possible.

Someone who is having the same problems?

I once tried plotting with Matplotlib, but it wasn’t working as good as with altair, so I sticked to that in the end - btw I had a CFM, too (http://ml-ml.herokuapp.com/).

Very cool app @gtancev!

Altair is indeed a good option. I finally settled with a somewhat similar solution using Altair.

@gtancev, can you send me, or post the Confusion Matrix code!!