Save this video free

Lecture 7f

Prof. Schniter · 19:36 · Watch on YouTube

Lecture 7f Watch on YouTube →

Overview

Prof. Schniter uses MNIST handwritten-digit classification to demonstrate a three-layer multilayer perceptron and practical deep-network training choices. The example trains on 60,000 of MNIST’s 70,000 grayscale 28×28 images, reaching about 98.8% test accuracy with two 500-unit hidden layers, batch normalization, GELU, dropout, cross-entropy, and AdamW; the lecture also explains data reshaping and the tradeoffs between manual hyperparameter tuning and Optuna.

Key takeaways

Chapters

0:00 MNIST Images, Labels, and NumPy Reshaping
9:00 A Three-Layer MLP Reaches 98.8% MNIST Accuracy
11:54 Neural-Network Hyperparameters and Optuna Tuning

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

Transcript excerpt

0:02 All right. So, we're just going to uh quickly finish up our unit on neural networks. Uh most recently, we talked about deep networks and various tricks for training them. And today we're going to talk about um applying deep networks and those tricks to um emnest handwritten digit recognition. So, first a little bit about the data set. This is a very popular data set for um machine learning classes because it is um small enough that you can work with it on like a laptop but large enough to be um interesting um certainly not not a toy data set like many of the other ones

0:52 that we've u seen so far are. So uh the data set is basically uh these small images of handwritten digits. Those are the features. And then the labels are the um the numerical digit from 0 through 9 that that image represents. Um so for example here you can see a bunch of images of handwritten zeros. Then we have handwritten ones and so on all the way up to handwritten nines. Okay. So each of those images the features are 28 by 28 and they are grayscale images not color

1:41 meaning that the uh the individual pixels in the image are each uh brightness value. So zero being black and the maximum however the data set is scaled to be would be white and then you know anything between zero and the maximum would be gray. So this data set um has 70,000 examples of these images or 70,000 samples. They were collected in the 1980s by the American Census Bureau. One of the motivations I believe was to automatically scale uh scan uh the zip codes in on on letters, you know, mail packages in order to automatically route

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

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.