DataToll 中文

But what is a neural network? | Deep learning chapter 1 · YouTube Transcript

Search captions, jump to a chapter and download subtitles.

Snapshot · 2026-12-01

00:04This is a 3.
00:06It's sloppily written and rendered at an extremely low resolution of 28x28 pixels,
00:10but your brain has no trouble recognizing it as a 3.
00:14And I want you to take a moment to appreciate how
00:16crazy it is that brains can do this so effortlessly.
00:19I mean, this, this and this are also recognizable as 3s,
00:22even though the specific values of each pixel is very different from one
00:27image to the next.
00:28The particular light-sensitive cells in your eye that are firing when you
00:32see this 3 are very different from the ones firing when you see this 3.
00:37But something in that crazy-smart visual cortex of yours resolves these as representing
00:42the same idea, while at the same time recognizing other images as their own distinct
00:47ideas.
00:49But if I told you, hey, sit down and write for me a program that takes in a grid of
00:5428x28 pixels like this and outputs a single number between 0 and 10,
00:59telling you what it thinks the digit is, well the task goes from comically trivial to
01:04dauntingly difficult.
01:07Unless you've been living under a rock, I think I hardly need to motivate the relevance
01:10and importance of machine learning and neural networks to the present and to the future.
01:15But what I want to do here is show you what a neural network actually is,
01:18assuming no background, and to help visualize what it's doing,
01:22not as a buzzword but as a piece of math.
01:25My hope is that you come away feeling like the structure itself is motivated,
01:28and to feel like you know what it means when you read,
01:31or you hear about a neural network quote-unquote learning.
01:35This video is just going to be devoted to the structure component of that,
01:38and the following one is going to tackle learning.
01:40What we're going to do is put together a neural
01:43network that can learn to recognize handwritten digits.
01:49This is a somewhat classic example for introducing the topic,
01:52and I'm happy to stick with the status quo here,
01:54because at the end of the two videos I want to point you to a couple good
01:57resources where you can learn more, and where you can download the code that
02:00does this and play with it on your own computer.
02:05There are many many variants of neural networks,
02:07and in recent years there's been sort of a boom in research towards these variants,
02:12but in these two introductory videos you and I are just going to look at the simplest
02:16plain vanilla form with no added frills.
02:19This is kind of a necessary prerequisite for understanding any of the more powerful
02:23modern variants, and trust me it still has plenty of complexity for us to wrap our minds
02:28around.
02:29But even in this simplest form it can learn to recognize handwritten digits,
02:33which is a pretty cool thing for a computer to be able to do.
02:37And at the same time you'll see how it does fall
02:39short of a couple hopes that we might have for it.
02:43As the name suggests neural networks are inspired by the brain, but let's break that down.
02:48What are the neurons, and in what sense are they linked together?
02:52Right now when I say neuron all I want you to think about is a thing that holds a number,
02:58specifically a number between 0 and 1.
03:00It's really not more than that.
03:03For example the network starts with a bunch of neurons corresponding to
03:08each of the 28x28 pixels of the input image, which is 784 neurons in total.
03:14Each one of these holds a number that represents the grayscale value of the
03:19corresponding pixel, ranging from 0 for black pixels up to 1 for white pixels.
03:25This number inside the neuron is called its activation,
03:28and the image you might have in mind here is that each neuron is lit up when its
03:32activation is a high number.
03:36So all of these 784 neurons make up the first layer of our network.
03:46Now jumping over to the last layer, this has 10 neurons,
03:49each representing one of the digits.

Explore sample reports

YouTube Transcript

Frequently asked questions

How much can I use for free?
Reading and exporting samples is free. Each IP can run 100 live searches per rolling 24 hours.
Which formats can I export?
Save captions as .srt, .md or .txt. Download products and reviews as Excel-compatible .csv, or copy a Markdown summary of low-rated reviews.
How fresh are the results?
Each sample shows its capture date. Fetch Latest Live requests the public source again. Exports use the displayed sample and filters.
What happens to my search?
Live searches send the target to DataToll and include it in the shareable page URL. Filtering, copying and downloads happen in your browser.