跟读练习: The Essential Main Ideas of Neural Networks - 通过视频学习英语口语

选择练习模式

每种模式都会打开全屏练习室。

168 句
如果句子过短或过长,请点击 Edit 进行调整。
1
Neural networks seem so complicated, but they're not.
2
StatQuest!
3
Hello, I'm Josh Starmer and welcome to StatQuest.
4
Today we're going to talk about Neural Networks Part 1, Inside the Black Box.
5
Neural networks, one of the most popular algorithms in machine learning, learning, cover a broad range of concepts and techniques.
6
However, people call them a black box because it can be hard to understand what they're doing.
7
The goal of this series is to take a peek into the black box by breaking down each concept
8
and technique into its components and walking through how they fit together, step by step.
9
In this first part, we will learn about what neural networks do and how they do it.
10
In part two, we'll talk about how neural networks are fit to data with backpropagation.
11
Then, we will talk about variations on the simple neural network presented in this part, including deep learning.
12
Crazy awesome news!
13
I have a new way to think about neural networks
14
that will help beginners and seasoned experts alike gain a deep insight into what neural networks do.
15
For example, most tutorials use cool-looking but hard-to-understand graphs and fancy mathematical notation to represent neural networks. In contrast,
16
I'm going to label every little thing on the neural network to make it easy to keep track of the details.
17
And the math will be as simple as possible while still being true to the algorithm.
18
These differences will help you develop a deep understanding of what neural networks actually do.
19
So, with that said, let's imagine we tested a drug that was designed to treat an illness,
20
and we gave the drug to three different groups of people with three different dosages.
21
Low, Medium, and High.
22
The low dosages were not effective, so we set them to zero on this graph.
23
In contrast, the medium dosages were effective, so we set them to 1.
24
And the high dosages were not effective, so those are set to 0.
25
Now that we have this data, we would like to use it to predict whether or not a future dosage will be effective.
26
However, we can't just fit a straight line to the data to make predictions, because no matter how we rotate the straight line,
27
it can only accurately predict two of the three dosages.
28
The good news is that a neural network can fit a squiggle to the data.
29
The green squiggle is close to zero for low dosages, close to one for medium dosages,
30
and close to zero for high dosages.
31
And even if we have a really complicated data set like this, a neural network can fit a squiggle to it.
32
In this StatQuest, we're going to use this super simple data set and show how this neural network creates this green squiggle.
33
But first, let's just talk about what a neural network is.
34
A neural network consists of nodes and connections between the nodes.
35
Note, the numbers along each connection represent parameter values that were estimated when this neural network was fit to the data.
36
For now, just know that these parameter estimates are analogous to the slope
37
and intercept values that we solve for when we fit a straight line to data.
38
Likewise, a neural network starts out with unknown parameter values
39
that are estimated when we fit the neural network to a dataset using a method called backpropagation.
40
And we will talk about how backpropagation estimates these parameters in part 2 in this series.
41
But for now, just assume that we've already fit this neural network to this specific dataset.
42
And that means we have already estimated these parameters.
43
Also, you may have noticed that some of the nodes have curved lines inside of them.
44
These bent or curved lines are the building blocks for fitting a squiggle to data.
45
The goal of this StatQuest is to show you how these identical curves can be reshaped by the parameter values
46
and then added together to get a green squiggle that fits the data.
47
Note, there are many common bent or curved lines that we can choose for a neural network.
48
This specific curved line is called Soft Plus, which sounds like a brand of toilet paper.
49
Alternatively, we could use this bent line called RelU, which is short for Rectified Linear Unit and sounds like a robot.
50
Or we could use a sigmoid shape or any other bent or curved line.
51
Oh no, it's the dreaded terminology alert!
52
The curved or bent lines are called activation functions.
53
When you build a neural network, you have to decide which activation function or functions you want to use.
54
When most people teach neural networks, they use the sigmoid activation function.
55
However, in practice, it is much more common to use the ReLU activation function, or the soft plus activation function.
56
So we'll use the soft plus activation function in this stat quest.
57
Anyway, we'll talk more about how you choose activation functions later in this series.
58
Note, this specific neural network is about as simple as they get.
59
It only has one input node where we plug in the dosage, only one output node to tell us the predicted effectiveness,
60
and only two nodes between the input and output nodes.
61
However, in practice, neural networks are usually much fancier and have more than one input node,
62
more than one output node, different layers of nodes between the input and output nodes,
63
and a spider web of connections between each layer of nodes.
64
Oh no!
65
It's another terminology alert!
66
These layers of nodes between the input and output nodes are called hidden layers.
67
When you build a neural network, one of the first things you do is decide how many hidden layers you want
68
and how many nodes go into each hidden layer.
69
Although there are rules of thumb for making decisions about the hidden layers, you essentially make a guess and see how well the neural network performs,
70
adding more layers and nodes if needed.
71
Now, even though this neural network looks fancy, it is still made from the same parts used in this simple neural network,
72
which has only one hidden layer with two nodes.
73
So let's learn how this neural network creates new shapes from the curved or bent lines in the hidden layer,
74
and then adds them together to get a green squiggle that fits the data.
75
To keep the math simple, let's assume dosages go from 0, for low, to 1, for high.
76
The first thing we are going to do is plug the lowest dosage, 0, into the neural network.
77
Now, to get from the input node to the top node in the hidden layer,
78
this connection multiplies the dosage by negative 34.4 and then adds 2.14.
79
And the result is an X-axis coordinate for the activation function.
80
For example, the lowest dosage, 0, is multiplied by negative 34.4,
81
and then we add 2.14 to get 2.14 as the x-axis coordinate for the activation function.
82
To get the corresponding y-axis value, we plug 2.14 into the activation function,
83
which, in this case, is the soft plus function.
84
Note, if we had chosen the sigmoid curve for the activation function, then we would plug 2.14 into the equation for the sigmoid curve.
85
And if we had chosen the relu bent line for the activation function, then we would plug 2.14 into the relu equation.
86
But since we are using soft plus for the activation function, we plug 2.14 into the soft plus equation.
87
And the log of 1 plus e raised to the 2.14 power is 2.25.
88
Note, in statistics, machine learning, and most programming languages, the log function implies the natural log, or the log base e.
89
Anyway, the y-axis coordinate for the activation function is 2.25.
90
So let's extend this y-axis up a little bit, and put a blue dot at 2.25 for when dosage equals 0.
91
Now, if we increase the dosage a little bit and plug 0.1 into the input,
92
the x-axis coordinate for the activation function is negative 1.3,
93
and the corresponding y-axis value is 0.24.
94
So let's put a blue dot at 0.24 for when dosage equals 0.1.
95
And if we continue to increase the dosage values all the way to 1, the maximum dosage, we get this blue curve.
96
Note, before we move on, I want to point out
97
that the full range of dosage values from 0 to 1
98
corresponds to this relatively narrow range of values from the activation function function.
99
In other words, when we plug dosage values from 0 to 1 into the neural network,
100
and then multiply them by negative 34.4 and add 2.14,
101
we only get x-axis coordinates that are within the red box.
102
And thus, only the corresponding y-axis values in the red box are used to make this new blue curve.
103
Bam!
104
Now we scale the y-axis values for the blue curve by negative 1.3.
105
For example, when dosage equals zero, the current y-axis coordinate for the blue curve is 2.25.
106
So we multiply 2.25 by negative 1.3 and get negative 2.93.
107
and negative 2.93 corresponds to this position on the y-axis.
108
Likewise, we multiply all of the other y-axis coordinates on the blue curve by negative 1.3,
109
and we end up with a new blue curve.
110
BAM!
111
Now let's focus on the connection from the input node to the bottom node in the hidden layer.
112
However, this time we multiply the dosage by negative 2.52 instead of negative 34.4,
113
and we add 1.29 instead of 2.14 to get the x-axis coordinate for the activation function.
114
Remember, these values come from fitting the neural network to the data with backpropagation, and we'll talk about that in Part 2 in this series.
115
Now, if we plug the lowest dosage, 0, into the neural network,
116
then the x-axis coordinate for the activation function is 1.29.
117
Now we plug 1.29 into the activation function to get the corresponding y-axis value, and get 1.53.
118
And that corresponds to this yellow dot.
119
Now we just plug in dosage values from 0 to 1 to get the corresponding y-axis values.
120
And we get this orange curve.
121
Note, just like before, I want to point out that the full range of dosage values from 0 to 1
122
corresponds to this narrow range of values from the activation function.
123
In other words, when we plug dosage values from 0 to 1 into the neural network,
124
we only get X-axis coordinates that are within the red box.
125
And thus, only the corresponding y-axis values in the red box are used to make this new orange curve.
126
So we see that fitting a neural network to data gives us different parameter estimates on the connections,
127
And that results in each node in the hidden layer using different portions of the activation functions
128
to create these new and exciting shapes.
129
Now, just like before, we scale the Y-axis coordinates on the orange curve.
130
Only this time, we scale by a positive number, 2.28.
131
Boop, boop, boop, boop, boop, boop.
132
And that gives us this new orange curve.
133
Now the neural network tells us to add the y-axis coordinates from the blue curve to the orange curve.
134
And that gives us this green squiggle.
135
Then, finally, we subtract 0.58 from the y-axis values on the green squiggle.
136
And we have a green squiggle that fits the data.
137
Bam!
138
Now, if someone comes along and says that they are using dosage equal to 0.5,
139
we can look at the corresponding y-axis coordinate on the green squiggle and see that the dosage will be effective.
140
Or, we can solve for the y-axis coordinate by plugging dosage equals 0.5 into the neural network, and do the math.
141
Biddup boop boop boop boop boop boop
142
And we see that the y-axis coordinate on the green squiggle is 1.03.
143
And since 1.03 is closer to 1 than 0, we will conclude that a dosage equal to 0.5 is effective.
144
Double bam!
145
Now, if you've made it this far, you may be wondering why this is called a neural network, instead of a big fancy squiggle-fitting machine.
146
The reason is that way back in the 1940s and 50s, when neural networks were invented, they thought the nodes were vaguely like neurons,
147
and the connections between the nodes were sort of like synapses.
148
However, I think they should be called big, fancy squiggle-fitting machines, because that's what they do.
149
Whether or not you call it a squiggle-fitting machine, the parameters that we multiply are called weights.
150
and the parameters that we add are called biases.
151
Note, this neural network starts with two identical activation functions, but the weights and biases on the connections slice them,
152
flip them, and stretch them into new shapes, which are then added together to get a squiggle that is entirely new,
153
and then the squiggle is shifted to fit the data.
154
Now, if we can create this green squiggle with just two nodes in a single hidden layer,
155
just imagine what types of green squiggles we could fit with more hidden layers and more nodes in each hidden layer.
156
In theory, neural networks can fit a green squiggle to just about any data set, no matter how complicated.
157
And I think that's pretty cool.
158
Triple bam!
159
Now it's time for some shameless self-promotion.
160
If you want to review statistics and machine learning offline, check out the StatQuest study guides at StatQuest.org.
161
There's something for everyone.
162
Hooray!
163
We've made it to the end of another exciting StatQuest.
164
If you like this StatQuest and want to see more, please subscribe.
165
And if you want to support StatQuest, consider contributing to my Patreon campaign,
166
becoming a channel member, buying one or two of my original songs or a t-shirt or a hoodie, or just donate.
167
The links are in the description below.
168
Alright, until next time, quest on!

下载应用

流利口语所需的一切

AI 发音评分逐句打分
音标练习掌握每个音
词汇学习建立你的词库
词汇游戏边玩边学

同频道

FOR YOU

推荐视频

为何用这个视频练习英语口语?

这个视频以通俗易懂的方式讲解神经网络,语速适中、逻辑清晰,非常适合作为英语口语练习的素材。讲解中大量使用日常表达和专业术语的结合,既能锻炼基础口语能力,又能积累科技领域词汇。通过英语影子跟读(shadowspeaks)模仿 speaker 的语调与节奏,不仅能提升发音准确性,还能培养自然的语言流畅度,对雅思口语练习也有很大帮助——毕竟雅思口语考试中清晰表达复杂概念的能力至关重要。

语境中的语法与表达

  • “...seem so complicated, but they're not!” 这一转折句结构简单却有力,适合练习口语中的情感起伏。模仿时注意“but”后的重读,增强表达的说服力。
  • “the goal of this series is to take a peek into the black box by breaking down each concept...” 其中“by + 动名词”结构用于说明方式,是口语中解释做法的常用句式。练习时需流畅读出“breaking down”的连读。
  • “however, in practice, it is much more common to use...” 这里“however”和“in practice”的插入使表达更自然,体现口语的灵活性。模仿时注意停顿位置,避免生硬。

常见发音陷阱

视频中部分词汇的发音容易出错,需特别注意:
- “neural networks” 中“neural”的发音为/ˈnʊərəl/,而非/ˈnjʊərəl/,避免将“neu-”发成“牛”的音;
- “activation” 的重音在第⼆个音节/ˌæktɪˈveɪʃn/,不要误读为/ækˈtɪveɪʃn/;
- “sigmoid” 的正确发音是/ˈsɪɡmɔɪd/,注意“g”发浊辅音,避免发成清辅音。
通过影子跟读反复练习这些词汇,可有效提高英语发音的准确性。

视频中的语法

说话人最常用的结构,并附上视频中的原话:

结构视频中的用法
被动语态 be + 过去分词 — 强调发生了什么,而不是谁做的was designed · are set · were estimated
现在完成时 have/has + 过去分词 — 过去发生但与现在仍有关联的事have already estimated · have curved · you've made
定语从句 who / which + 从句 — 补充说明人或事物RelU, which is · shapes, which are

什么是跟读法?

跟读法 (Shadowing) 是一种有科学依据的语言学习技巧,最初开发用于专业口译员的培训,并由多语言者Alexander Arguelles博士普及。这个方法简单而强大:您在听英语母语原声的同时立即大声重复——就像是一个延迟1-2秒紧跟说话者的影子。与被动听力或语法练习不同,跟读法强迫您的大脑和口腔肌肉同时处理并模仿真实的讲话模式。研究表明它能显着提高发音准确性,语调,节奏,连读,听力理解和口语流利度——使其成为雅思口语备考和真实英语交流最有效的方法之一。

影子跟读法: 阅读完整分步指南 →