How To Estimate FP, FN, TP, TN, TPR, TNR, FPR, FNR & Accuracy for Multi-Class Data in Python in 5 minutes

In this post, I explain how someone can read a confusion matrix and how to extract several performance metrics for a multi-class classification problem from the confusion matrix in 5 minutes

Serafeim Loukas, PhD
Towards AI
Published in
6 min readFeb 5, 2023

--

1. Introduction

In one of my previous posts, ROC Curve explained using a COVID-19 hypothetical example

--

--

Data Scientist @ Natural Cycles (Switzerland). PhD, MSc, M.Eng. Bespoke services on demand