Get startedGet started for free

The limitations of accuracy

In the previous exercise, you found that the logistic regression model made a correct prediction nearly 80% of the time. Despite this relatively high accuracy, the result is misleading due to the rarity of outcome being predicted.

The donors dataset is available to use. What would the accuracy have been if a model had simply predicted "no donation" for each person?

This exercise is part of the course

Supervised Learning in R: Classification

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise