Shadowing Practice: The Essential Main Ideas of Neural Networks - Learn English Speaking with Video

בחר מצב תרגול

כל מצב פותח חדר תרגול במסך מלא.

168 משפטים
אם המשפטים קצרים או ארוכים מדי, לחץ על ערוך כדי להתאים אותם.
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ציון לכל משפט
תרגול IPAשלוט בכל צליל
אוצר מיליםבנה את מאגר המילים שלך
משחק אוצר מיליםלמד תוך כדי משחק

אותו ערוץ

FOR YOU

המלץ על סרטון

אוצר מילים והערות הגייה לשיעור הזה

שיעור הדיבור הזה ברמה C1 מבוסס על הסרטון “The Essential Main Ideas of Neural Networks”. המילים שחוזרות הכי הרבה: neural, network, dosage, node, function. בסרטון הזה יש 168 משפטים ו-2283 מילים לתרגול Shadowing. הדיבור נמשך 18:53. הדובר שומר על קצב יציב של כ-121 מילים בדקה, קצב נוח לתרגול Shadowing. רק 75% מהמילים נמצאות בין 3,000 המילים הנפוצות ביותר באנגלית, כך שאוצר המילים מאתגר.

אוצר מילים מרכזי בסרטון הזה

15 המילים המתקדמות ביותר בסרטון, עם ההגייה והמשמעות שלהן:

מילההגייהמשמעות
axis שם עצם/ˈæksɪs/ציר
correspond פועל/ˌkoɹəˈspɑnd/הִתְכַּתֵּב
equation שם עצם/ɪˈkweɪ.ʒən/משוואה \ מִשְׁוָאָה
excite פועל/ɪkˈsaɪt/הלהיב, עורר
terminology שם עצם/ˌtɝ.məˈnɑ.lə.d͡ʒi/טֶרְמִינוֹלוֹגְיָה
algorithm שם עצם/ˈælɡəɹɪðm̩/אַלגוֹרִיתְם
likewise תואר הפועל/ˈlaɪkˌwaɪz/כְּמוֹ כֵן
graph שם עצם/ɡɹæf/גְּרָף
notation שם עצם/noʊˈteɪʃən/רישום
shameless שם תואר/ˈʃeɪ̯mlɪs/חֲסַר בּוּשָׁה
synapse שם עצם/ˈsɪnæps/סינפסה, מִסְנָף
beginner שם עצם/bəˈɡɪnɚ/מַתְחִיל, טִירוֹן
intercept פועל/ɪntɚˈsɛpt/יירט
dread שם עצם/dɹɛd/חרדה, פחד
peek פועל/piːk/הציץ

Phrasal verbs שתשמעו

מילהמשמעות
check out פועלבדק

דקדוק בסרטון הזה

המבנים שהדובר משתמש בהם הכי הרבה, עם המילים המדויקות מהסרטון:

מבנהבסרטון
סביל (Passive voice) be + past participle — הדגש הוא על מה שקורה, לא על מי שעושה את הפעולהwas designed · are set · were estimated
הווה מושלם (Present perfect) have/has + past participle — פעולה שקרתה בעבר ועדיין יש לה חשיבות או השפעה עכשיוhave already estimated · have curved · you've made
משפטי זיקה (Relative clauses) who / which + clause — מידע נוסף על אדם או דברRelU, which is · shapes, which are

הגייה ששווה לשים לב אליה

הדובר משתמש ב-14 קיצורים וצורות מקוצרות, כמו we'll, I'm, they're. אמרו אותם בצורה הקצרה, כפי שאתם שומעים אותם.

  • הצלילים של “th”: algorithm /ˈælɡəɹɪðm̩/, thumb /ˈθʌm/, mathematical /ˌmæθ(.ə)ˈmæt.ɪ.kəl/
  • הצלילים של “sh” ו-“zh”: activation /ˌæktəˈveɪʃən/, equation /ɪˈkweɪ.ʒən/, notation /noʊˈteɪʃən/, reshape /ɹiːˈʃeɪ̯p/, shameless /ˈʃeɪ̯mlɪs/
  • מילים ארוכות — שימו לב להטעמה: activation /ˌæktəˈveɪʃən/, coordinate /koʊˈɔɹ.dəˌneɪt/, parameter /pəˈɹæm.ə.tɚ/, terminology /ˌtɝ.məˈnɑ.lə.d͡ʒi/, analogous /əˈnæl.ə.ɡəs/

צלילים שדוברי עברית מתקשים בהם:

  • /w/ — שפתיים מעוגלות, לא /v/: squiggle /ˈskwɪɡl̩/, equation /ɪˈkweɪ.ʒən/, likewise /ˈlaɪkˌwaɪz/
  • /æ/ — פתוח יותר מה-“אֶ” העברית, לא כמו “a” ב-“cup”: axis /ˈæksɪs/, activation /ˌæktəˈveɪʃən/, parameter /pəˈɹæm.ə.tɚ/, algorithm /ˈælɡəɹɪðm̩/, graph /ɡɹæf/
  • /r/ — הלשון לא נוגעת בשום מקום, לא ה-“ר” הגרונית: neural /ˈnʊɹəl/, coordinate /koʊˈɔɹ.dəˌneɪt/, correspond /ˌkoɹəˈspɑnd/, parameter /pəˈɹæm.ə.tɚ/, predict /pɹɪˈdɪkt/

איך לתרגל עם הסרטון הזה

  1. הקשיבו לכל הסרטון פעם אחת בלי לדבר, ורשמו את המילים שאתם לא מכירים.
  2. תרגלו Shadowing משפט אחר משפט במהירות רגילה, וחזרו על כל משפט עד שהקצב שלכם תואם את הדובר.
  3. הקליטו את עצמכם והשוו למקור, תוך תשומת לב למילים כמו axis, correspond, equation.

מהי טכניקת השאדואינג?

שאדואינג היא טכניקת למידת שפה מבוססת מדע שפותחה במקור להכשרת מתורגמנים מקצועיים ופופולרית על ידי הפוליגלוט ד"ר אלכסנדר ארגואלס. השיטה פשוטה אך עוצמתית: אתה מקשיב לאודיו באנגלית ילידית וחוזר עליו בקול רם מיד — כמו צל העוקב אחרי הדובר עם עיכוב של 1–2 שניות בלבד. בניגוד להאזנה פסיבית או תרגילי דקדוק, שאדואינג מכריח את המוח והשרירים בפה לעבד ולשחזר דפוסי דיבור אמיתיים בו זמנית. מחקרים מראים שזה משפר משמעותית את דיוק ההגייה, האינטונציה, הקצב, הדיבור המחובר, הבנת השמיעה ושטף הדיבור — מה שהופך אותו לאחת השיטות היעילות ביותר להכנה לIELTS Speaking ולתקשורת באנגלית בעולם האמיתי.

טכניקת Shadowing: קרא את המדריך המלא שלב אחר שלב →