Confusion matrix

Concept and definition

Confusion matrix

What is Confusion matrix?

A confusion matrix is a table used in the context of supervised learning in artificial intelligence and machine learning to evaluate the performance of a classification model. This matrix compares the actual labels of the test data with the labels predicted by the model and shows how many data were correctly classified and how many were misclassified.

The confusion matrix generally has four entries, which are: true positives (TP), false positives (FP), true negatives (TN) and false negatives (FN). True positives represent cases where the model correctly predicted the presence of a specific class, false positives represent cases where the model incorrectly predicted the presence of a specific class, true negatives represent cases where the model correctly predicted the absence of a specific class, and false negatives represent cases where the model incorrectly predicted the absence of a specific class.

The confusion matrix is a useful tool for evaluating the performance of a classification model and adjusting its parameters to improve its accuracy. In addition, several evaluation metrics, such as accuracy, recall, F1-score and error rate, can be calculated from the information provided by the confusion matrix.

« Back to glossary

Do you want to get in touch?

CDRs contain data that a telecommunications company collects about phone calls, such as time and length of call. This data can be used in analytical applications.
Fill the form
Share:
The 5 Challenges of Big Data in Machine Learning

5 Big Data challenges can be highlighted which are defined as V (volume, velocity, veracity, variety and value). R. Narasimhan discussed 3V with [...]

Read More »
Reducing Churn and improving customer satisfaction with predictive forecasting

Churn, or customer churn rate, is a constant challenge for today's businesses. The ability to retain customers is a constant challenge for today's companies.

Read More »
Automation and rapid deployments via SaaS

One of the decisions faced by a company that needs an IT infrastructure is the choice of where to locate this infrastructure and where to install it.

Read More »
Why predictive AI is key to a company's success

The integration of tools for predictive analytics is already commonplace in large companies, but thanks to the evolution and, above all, to the dem [...]

Read More »
See more entries
© Gamco 2021, All Rights Reserved - Legal notice - Privacy - Cookies