Plot a confusion matrix
New in scikit-learn 0.22: Plot a confusion matrix in one line of code! Highly customizable, including the colormap, display labels, and value formatting. Note: Beginning in scikit-learn 1.0, the plot_confusion_matrix function will be deprecated in favor of two new methods in the ConfusionMatrixDisplay class. More information is here: https://scikit-learn.org/dev/modules/generated/sklearn.metrics.ConfusionMatrixDisplay.html 👉 New tips every TUESDAY and THURSDAY! 👈 🎥 Watch all tips: https://www.youtube.com/playlist?list=PL5-da3qGB5ID7YYAqireYEew2mWVvgmj6 🗒️ Code for all tips: https://github.com/justmarkham/scikit-learn-tips 💌 Get tips via email: https://scikit-learn.tips === WANT TO GET BETTER AT MACHINE LEARNING? === 1) LEARN THE FUNDAMENTALS in my intro course (free!): https://courses.dataschool.io/introduction-to-machine-learning-with-scikit-learn 2) BUILD YOUR ML CONFIDENCE in my intermediate course: https://courses.dataschool.io/building-an-effective-machine-learning-workflow-with-scikit-learn 3) LET'S CONNECT! - Newsletter: https://www.dataschool.io/subscribe/ - Twitter: https://twitter.com/justmarkham - Facebook: https://www.facebook.com/DataScienceSchool/ - LinkedIn: https://www.linkedin.com/in/justmarkham/
Download
0 formatsNo download links available.