Linear Classification Network
Overview
Linear classification is a parametric approach to image classification that separates the process into two key components:
1. Score Function
Maps pixel values to confidence scores for each class
- Input: Raw image pixels
- Output: Confidence score for each class
D-DL4CV-Lec03a-Linear_Classifier
2. Loss Function
Evaluates predictions by score function and guides learning
- Input: Score function output + correct labels
- Output: Error measure that drives parameter updates in score function
The highlight of linear classification network in contrast with kNN is that linear classifier can "learn" how to classify images by processing training data
How They Work Together
Repeat:
- Score function turns raw image into class scores
- Loss function computes loss based on class scores and the correct label
- Update weights based on the loss