-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Confusion matrix plot doesn't display numbers #4670
Comments
@mnrozhkov This is not an issue with the extension but the expected behaviour of the confusion matrix template. Maybe @dberenbaum or @daavoo can give some background on the decision not to display those numbers. Please note the details for each cell are available in a tooltip: |
I think it was about the YOLO repo where the text was rendering really bad |
@mnrozhkov do you feel it would be substantially better to include numbers? Is it a high priority? I guess we can try to add an option to include numbers. Also, how TB, W&B, MLFlow show this by default? |
First, I followed the documentation (here, and here, and here). Everywhere - confusion matrixes with numbers! So, when I see my plot without numbers - I have a confusion :)))) I looked through your previous discussions. Agree, that for a large number of classes numbers bring a mess to confusion plots. When there are only a few of them, I would prefer to have numbers plotted! So, it would be cool to have option to turn them on/off. Here is an example, 2 plots that look pretty similar. If you compare 3-4 experiments and see such plots in a row, you may miss differences. To sum it up
Below are examples for TB (have numbers) and W&B (additional level of detalization) |
A user also asked about this in discord. Overall, I think it gets to the need to customize the plots more easily. I think we all agree at this point that custom templates are not the best way to configure this type of option, so hopefully we can find simpler ways to add toggles like this as we work on improving the plots implementation. |
Unpopular opinion: We have put in a massive amount of effort to make templates and plots customizable and we give all of this away for free. ATM we are small and stretched. Further help with customising plots should be part of a paid engagement. Either through a support contract or Studio. |
I don't disagree @mattseddon, and regardless of free/paid, I'm not sure additional plots refinement needs to be high priority right now. However, if/when we want to prioritize plots and update the implementation, easier customization should be one of the priorities IMO. |
FWIW these are the equivalent diagrams in Plotly: https://plotly.com/javascript/heatmaps/ |
The source of the confusion is the inconsistency between plots shown in documentation, and one people see when they try to build their own. I think we may just update the documentation, use images people will see when they build plots, and point to additional details in a tooltip. WDYT? |
Good point @mnrozhkov! Opened iterative/dvc.org#4866. |
I follow docs to log/plot confusion matrix with DVCLive, but don't see the number of labels per class
How to reproduce:
Output
Expected result
The text was updated successfully, but these errors were encountered: