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:
What credit scoring is and why Artificial Intelligence will change it forever

Credit scoring is a system used to rate credits and thus try to automate the decision making process at the time of purchasing a loan, and to [...]

Read More »
AI, a new ally for telemarketing

The acquisition of new customers is one of the most important and difficult processes for a company. Traditionally, it has been necessary to resort to [...]

Read More »
How do I know if a customer will pay me?

When it comes to gaining new clients, everything is joy and satisfaction for being able to provide them with our service or sell them our product in the best way possible, and we [...]

Read More »
Why artificial intelligence is important for businesses

AI is the science that will make the difference between two companies competing in the same industry. Machine learning and machine intelligence will [...]

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