Syllabus

Lectures

Homework and Exams

Piazza

Compass

Lab 2

In lab 2, you will perform K-nearest-neighbor classification of face images. You will use two different feature vectors: the discrete cosine transform (dct), and the principal component analysis (pca). You will use two different values of K: K=1, and K=4. Finally, you will use two different feature vector dimensions: nfeats=9, and nfeats=36. Solutions are provided to you for the nfeats=9 case.

The ZIP Archive, and the recommended Code-Writing Process

In the ZIP archive, you will find the following directory hierarchy:

How to Submit

When you're ready to submit, go to Gradescope.