CONFUSION MATRIX in Python (with Scikit-Learn)
In this tutorial, you will learn how to use the confusion matrix in Python, with Scikit-learn Original tutorial: https://www.jcchouinard.com/confusion-matrix-in-scikit-learn/ The confusion matrix is often used in machine learning to compute the accuracy of a classification algorithm. How to use confusion matrix in Python from sklearn.metrics import confusion_matrix cm = confusion_matrix(y_test,y_pred) ----- Install Python: - MacOS: https://www.jcchouinard.com/install-python-on-macos/ - Windows: https://www.jcchouinard.com/install-python-on-windows/ - Anaconda: https://www.jcchouinard.com/install-python-with-anaconda-on-windows/ Subscribe to my Python Course waitlist: https://ba995fe7.sibforms.com/serve/MUIEAPv50TFkNuoknCNvzRUKLLhvvZd5jzCwEZvi9BNjtkhVuEtLpEG58-Khdquyg9v5V-1qeGDwIXy739I4eFIVcCqeqqV3UUisW_-hAd5ljC1dGMrQvXHC7JvORh9TbnLA1CHqWro4N7YVZ4730-D5dXGxqd3CbaVHSJpS5fyylPMVzCe1_y9xOTl2-CsvEuhO01E0Ytv59HEJ Support my work: