Closed davidggphy closed 4 years ago
Hi @davidggphy, thanks for trying out this library and reporting the issue. What happens there is a division by zero, and I assume that after that warning you got an "Out of range float values are not JSON compliant" error. I just pushed a fix for the serialization issue to master
, it will be included in the next release.
For now, if you install that unreleased version with
$ pip install git+https://github.com/metriculous-ml/metriculous.git@master
you should see something like this:
You will still see the "invalid value encountered in true_divide" warning, that is something I should also address soon.
would be nice to have an option that allows to show the numbers directly on the confusion matrix, without the need of hovering over it
Yes, I agree 👍 Especially since these kinds of diagrams tend to get shared as screenshots a lot.
New look for the confusion matrices is on develop
(pip install git+https://github.com/metriculous-ml/metriculous.git@develop
):
thanks for the good work!
First, thanks for the library, it's really cool.
I only obtain the plots until the "scatter confusion matrix", I get the following error:
This happens every time I have a model which NEVER predicts one of the classes. E.g.: a naive model always predicting the majority class.
Also, there would be nice to have an option that allows to show the numbers directly on the confusion matrix, without the need of hovering over it.