Save this video free

Lecture 10b

Prof. Schniter · 59:51 · Watch on YouTube

Part of The Ohio State University ECE 5307. See all 34 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

Prof. Schniter demonstrates PCA on 1,288 labeled face images, showing how SVD compresses 1,850-pixel faces and how the resulting features affect XGBoost classification. The lecture contrasts PCA with non-negative matrix factorization (NMF), explains NMF's parts-based face representations and recommender-system applications, then compares PCA visualizations with nonlinear methods such as t-SNE and UMAP.

Key takeaways

Chapters

0:00 Labeled Faces in the Wild: Dataset and PCA Goals
3:14 Centering Faces and Computing the Economy SVD
7:20 Using Proportion of Variance to Choose PCA Rank
9:27 Reconstructing Faces and Interpreting Eigenfaces
17:29 Building PCA Features for XGBoost Classification
24:12 Why PCA Can Discard Classification-Relevant Information
28:21 NMF Constraints and Parts-Based Face Representations
37:33 NMF Versus PCA: Interpretability, Optimization, and Accuracy
43:21 Collaborative Filtering as Non-Negative Matrix Completion
48:17 PCA Visualizations of 3D Data and MNIST Digits
55:46 Nonlinear Embeddings with t-SNE and UMAP

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:02 All right. This is the lecture for Friday, November 20th that I wasn't able to give in person. So we just finished learning about [clears throat] PCA and how to compute it using the SVD. And so now we're going to do um an example, our demo for this unit [clears throat] um or at least one of the demos for this unit that concerns uh faces. So we're going to use a data set um it's not a very recent one. It's kind of an older one from 2007 called Labeled Faces in the Wild. So these these are this data set contains images. Um these are pretty small by today's

0:52 standards. Um 50 by 37 pixel images. So in total each image has 1,850 pixels and we'll consider those the number of features D for our samples. [clears throat] Um and we're going to use PCA for dimensionality reduction and then we'll also see what happens when we use this prior to classification. So this data set is actually built in scikit-learn. The full data set has 13,000 images. Um these faces are all from news stories in the 2000s. Um [clears throat]

1:39 we're going to um we're not going to use all 13,000. We're going to require that there's at least 70 faces per person, which is something um you can do in this data set. [snorts] And then that's going to restrict us to a subset of 1,288 images. [clears throat] Okay, those are going to be the number of samples in our data set. So we have um 1,288 samples. Each sample has 1,850 features. And because we restricted um the data this way, we also um we have labels on each image. We know whose whose face it is.

2:26 And in total, there are seven people. So

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Prof. Schniter.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.