StudyToCert

All certifications / Azure AI Engineer / Lessons

Microsoft Certified: Azure AI Engineer Associate AI-102 · Domain 4: Implement computer vision solutions

Training and evaluating a Custom Vision model: tagging images, iterations, precision, recall and mAP

▶ Watch the overview video

Last reviewed October 6, 2026 · Leer en español

Explain it simpler

Training a custom image model is a cycle: gather pictures, label them, let the computer learn, check how well it did, then add better pictures and repeat. Each round of learning makes a new version, called an iteration. To check quality, two numbers matter. Precision asks: when the model said 'diseased leaf', how often was it right? Recall asks: of all the leaves that really were diseased, how many did it catch? A smoke alarm that only beeps for real fires has high precision, but if it misses half the fires its recall is poor. You can slide a threshold to make the model more cautious or more eager, trading one number for the other.

Oakridge Plant Nursery's new leaf classifier looks impressive in the demo: 95 percent precision for 'diseased leaf'. Two weeks later, Leila, the head grower, walks into your office holding a tray of wilting seedlings. The model never flagged them. It turns out that when it says 'diseased' it is almost always right, but it stays silent on a third of the sick plants. The single number on the dashboard told you how trustworthy its alarms were, not how many problems it missed. Leila wants to know what went wrong, which number she should have been watching, and how to fix the model without starting over. Can you explain it in a way a grower would accept?

Training a Custom Vision model is a loop: collect images, tag them, train, evaluate, and improve the data. The model's quality depends far more on the images you give it than on any setting you choose. Most improvement comes from adding the right images and fixing labels, not from changing training options, so it helps to treat the dataset as the main thing you are engineering.

Free account

Keep reading for free

Create a free StudyToCert account to read the rest of this lesson: 7 more sections, 6 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.

Sign up free Log in

Study Azure AI Engineer for free
A week-by-week plan with every lesson, quizzes, checkpoint tests, a practice exam and hands-on labs.
Open the Azure AI Engineer study plan