The AI-900 exam has been retired
It was retired on June 30, 2026. It was replaced by AI-901 (Microsoft Azure AI Fundamentals). Go to the AI-901 study guide →
4.1.1. Image Classification
Image classification assigns a single label to an entire image. It answers: "What is this image of?" Think of it like sorting photos into folders—each photo gets one folder (label), and you don't care about specific locations within the image.
Key characteristics:
- Output: Single category label for the whole image
- Does NOT provide location information
- Does NOT identify multiple distinct objects
- Used when you need to categorize images into predefined groups
- Confidence score indicates how certain the model is
How classification works:
- Model analyzes the entire image as a whole
- Compares visual patterns to learned categories
- Returns the most likely category with a confidence percentage
- Example output:
{"label": "beach", "confidence": 0.94}
Common scenarios:
- Sorting photos by content type (vacation, work, family)
- Quality control in manufacturing (pass/fail classification)
- Medical imaging triage (normal/abnormal)
- Content moderation (appropriate/inappropriate)
- Product categorization in e-commerce
Classification types:
| Type | Description | Example |
|---|---|---|
| Binary | Two categories | Defective / Not Defective |
| Multiclass | Multiple categories | Cat / Dog / Bird / Fish |
| Multilabel | Multiple labels per image | Beach + Sunset + People |
What classification does NOT do:
- Tell you WHERE objects are located (use object detection)
- Count how many objects exist (use object detection)
- Extract text from images (use OCR)
- Describe the image in sentences (use image captioning)
⚠️ Exam Tip: Classification questions often use phrases like "categorize," "sort," "identify what type," or "determine if the image shows." If the question asks about LOCATION or POSITION, it's NOT classification.