ComeçarComece de graça

Calculating metrics from the confusion matrix

The confusion matrix of a binary classification model lists the number of correct and incorrect predictions obtained on the test dataset and is useful for evaluating the performance of your model.

Suppose you have trained a classification model that predicts whether customers will cancel their service at a telecommunications company and obtained the following confusion matrix on your test dataset. Here yes represents the positive class, while no represents the negative class.

Confusion matrix with 30 true positives, 10 false positives, 40 true negatives, and 20 false negatives

Choose the true statement from the options below.

Este exercício faz parte do curso

Modeling with tidymodels in R

Ver curso

Exercício interativo prático

Transforme a teoria em ação com um de nossos exercícios interativos

Começar o exercício