Accuracy: How often a model's predictions are correct, usually given as a percentage of all predictions it made.

Example

A spam filter checks 1,000 emails and gets 950 right. Its accuracy is 95%. But if only 20 of those emails were spam and it missed 15 of them, the 95% hides a real problem.

How Accuracy is Calculated

Accuracy = correct predictions ÷ total predictions. If a model makes 200 predictions and 170 are correct, accuracy is 85%. It is measured on test data the model has not seen during training. See testing in data and AI.

When Accuracy Misleads

If one outcome is rare, a model can look accurate while being useless. If only 1% of transactions are fraud, a model that always says "not fraud" is 99% accurate and catches nothing. That is why teams also look at other measures:

MeasureQuestion it answers
PrecisionOf the items the model flagged, how many were really positive?
RecallOf all the real positives, how many did the model find?
F1 scoreA balance of precision and recall
Confusion matrixA table of correct and wrong predictions for each class

Reporting Accuracy as an Intern

Always say what data the number was measured on, how balanced the classes were, and what other measures show. "95% accuracy on a held-out test set of 2,000 emails, with 80% recall on spam" is far more useful than "95% accuracy".

Related terms

Previous term: Accountability  |  Next term: Action Item

Related guides

Frequently asked questions

What is accuracy in machine learning?

Accuracy is the percentage of a model's predictions that are correct.

Why is accuracy not always a good measure?

When one class is rare, a model can score high accuracy while missing almost all the important cases.

What is the difference between precision and recall?

Precision is how many flagged items were truly positive. Recall is how many real positives the model found.

What is a good accuracy score?

It depends on the problem and the data. Compare against a simple baseline and look at precision and recall too.

Explore more internship terms

The IT Internship Glossary explains 199 terms you will hear before and during your internship, with simple definitions and real examples.

Browse all 199 terms
Dhaivat Ajwaliya

About the author

Dhaivat Ajwaliya

Dhaivat has 16+ years of experience in the IT industry, working on AI and cloud technologies, project delivery, and engineering leadership. He has interviewed and mentored many interns, wrote The Lost Intern, and runs the non-commercial Career Impact Initiative, mentoring students for free.