Understanding the Confusion Matrix from Scikit learn

Clear representation of output of confusion matrix

Samarth Agrawal
Towards Data Science
5 min readJan 1, 2021

--

What is the default output of confusion_matrix from sklearn? Image by Author

INTRODUCTION

In one of my recent projects — a transaction monitoring system generates a lot of False Positive alerts (these alerts are then manually investigated by the investigation team). We were required to use machine learning to auto close those false…

--

--

15 years in Data Science. I'm sharing valuable tips, ideas, and code snippets on Machine Learning & Deep Learning