MicrosoftDocs / ml-basics

Exercise notebooks for Machine Learning modules on Microsoft Learn
MIT License
1.75k stars 2.26k forks source link

Swapped axes on heatmap in classification notebook #18

Closed cgrant42 closed 3 years ago

cgrant42 commented 3 years ago

The axes on the heatmap in the classification notebook are incorrect. Predicted species should be on the horizontal axis and actual species should be on the vertical axis. The scikit-learn documentation for the confusion matrix states that it returns "Confusion matrix whose i-th row and j-th column entry indicates the number of samples with true label being i-th class and prediced label being j-th class."

GraemeMalcolm commented 3 years ago

Nice catch! Fixed throughout.