Professional Documents
Culture Documents
Lecture 04 (3hrs) Neural Network and Deep Learning-Part A
Lecture 04 (3hrs) Neural Network and Deep Learning-Part A
Lecture 04 (3hrs) Neural Network and Deep Learning-Part A
Learning
Xizhao WANG
Dian ZHANG
Big Data Institute
College of Computer Science
Shenzhen University
March 2022
Gradient Descent Algorithm
BP Algorithm for Feed-Forward Neural Network Model
Convolutional Neural Network
Deep Learning
Outline
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
Gradient Descent Algorithm 1. Definition of Gradient
BP Algorithm for Feed-Forward Neural Network Model 2. Gradient Descent Algorithm (GDA)
Convolutional Neural Network 3. Difference between GDA and Newton's Method
Deep Learning 4. An example
Lecture 01
Gradient Descent Algorithm
Gradient Descent Algorithm 1. Definition of Gradient
BP Algorithm for Feed-Forward Neural Network Model 2. Gradient Descent Algorithm (GDA)
Convolutional Neural Network 3. Difference between GDA and Newton's Method
Deep Learning 4. An example
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
Gradient Descent Algorithm 1. Definition of Gradient
BP Algorithm for Feed-Forward Neural Network Model 2. Gradient Descent Algorithm (GDA)
Convolutional Neural Network 3. Difference between GDA and Newton's Method
Deep Learning 4. An example
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
Gradient Descent Algorithm 1. Definition of Gradient
BP Algorithm for Feed-Forward Neural Network Model 2. Gradient Descent Algorithm (GDA)
Convolutional Neural Network 3. Difference between GDA and Newton's Method
Deep Learning 4. An example
x, t , x The initial value of x is 2,
and the step length is 0.1.
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
Gradient Descent Algorithm 1. Definition of Gradient
BP Algorithm for Feed-Forward Neural Network Model 2. Gradient Descent Algorithm (GDA)
Convolutional Neural Network 3. Difference between GDA and Newton's Method
Deep Learning 4. An example
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
Gradient Descent Algorithm 1. Definition of Gradient
BP Algorithm for Feed-Forward Neural Network Model 2. Gradient Descent Algorithm (GDA)
Convolutional Neural Network 3. Difference between GDA and Newton's Method
Deep Learning 4. An example
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
Gradient Descent Algorithm 1. Definition of Gradient
BP Algorithm for Feed-Forward Neural Network Model 2. Gradient Descent Algorithm (GDA)
Convolutional Neural Network 3. Difference between GDA and Newton's Method
Deep Learning 4. An example
f f f
f i j k
x y z
where i, j, k are the standard unit vectors in the directions of the
coordinates, respectively. For example, the gradient of the function
f ( x, y, z ) 2 x 3 y 2 sin( z ) is f 2i 6 yj cos( z )k.
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
Gradient Descent Algorithm 1. Definition of Gradient
BP Algorithm for Feed-Forward Neural Network Model 2. Gradient Descent Algorithm (GDA)
Convolutional Neural Network 3. Difference between GDA and Newton's Method
Deep Learning 4. An example
In the above two images, the values of the function are represented in black and white, black re
presenting higher values, and its corresponding gradient is represented by blue arrows.
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
Gradient Descent Algorithm 1. Definition of Gradient
BP Algorithm for Feed-Forward Neural Network Model 2. Gradient Descent Algorithm (GDA)
Convolutional Neural Network 3. Difference between GDA and Newton's Method
Deep Learning 4. An example
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
Gradient Descent Algorithm 1. Definition of Gradient
BP Algorithm for Feed-Forward Neural Network Model 2. Gradient Descent Algorithm (GDA)
Convolutional Neural Network 3. Difference between GDA and Newton's Method
Deep Learning 4. An example
f f
grad f ( x, y ) f ( x, y ) i j.
x y
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
Gradient Descent Algorithm 1. Definition of Gradient
BP Algorithm for Feed-Forward Neural Network Model 2. Gradient Descent Algorithm (GDA)
Convolutional Neural Network 3. Difference between GDA and Newton's Method
Deep Learning 4. An example
f f f f f
cos cos , cos , cos
l x y x y
grad f ( x, y ) e
grad f ( x, y ) e cos gradf ( x, y ), e
cos gradf ( x, y ), e 1,
f
then the directional derivative attains its maximum value, which equals to the
l
norm of gradient, i.e.
2 2
f f
grad f ( x, y )
y
.
x
Then when variables change along the gradient direction, the rate of change of a
function attains its maximum value, which is the norm of the gradient.
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
Gradient Descent Algorithm 1. Definition of Gradient
BP Algorithm for Feed-Forward Neural Network Model 2. Gradient Descent Algorithm (GDA)
Convolutional Neural Network 3. Difference between GDA and Newton's Method
Deep Learning 4. An example
f
x
1
f T
f f f
f ( X ) x2 , ,, .
x1 x2 xn
f
x
n
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
Gradient Descent Algorithm 1. Definition of Gradient
BP Algorithm for Feed-Forward Neural Network Model 2. Gradient Descent Algorithm (GDA)
Convolutional Neural Network 3. Difference between GDA and Newton's Method
Deep Learning 4. An example
initial point
The gradient descent algorithm may lead to local optimal solution; the
global optimal one can be ensured when the loss function is convex.
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
Gradient Descent Algorithm 1. Definition of Gradient
BP Algorithm for Feed-Forward Neural Network Model 2. Gradient Descent Algorithm (GDA)
Convolutional Neural Network 3. Difference between GDA and Newton's Method
Deep Learning 4. An example
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
Gradient Descent Algorithm 1. Definition of Gradient
BP Algorithm for Feed-Forward Neural Network Model 2. Gradient Descent Algorithm (GDA)
Convolutional Neural Network 3. Difference between GDA and Newton's Method
Deep Learning 4. An example
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
Gradient Descent Algorithm 1. Definition of Gradient
BP Algorithm for Feed-Forward Neural Network Model 2. Gradient Descent Algorithm (GDA)
Convolutional Neural Network 3. Difference between GDA and Newton's Method
Deep Learning 4. An example
2. Another termination condition is the iteration numbers (time control)
3. The learning rate, alpha, is to control the “walking-step”, too small will
lead to slow convergence (low efficiency), but too big will result in
vibrating (non-convergence). Its appropriate value is dependent on the
specific function to be minimized.
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
Gradient Descent Algorithm 1. Definition of Gradient
BP Algorithm for Feed-Forward Neural Network Model 2. Gradient Descent Algorithm (GDA)
Convolutional Neural Network 3. Difference between GDA and Newton's Method
Deep Learning 4. An example
1. Definition of gradient
2. Gradient descent algorithm (GDA)
3. Difference between GDA and Newton’ s method
4. An example
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
Gradient Descent Algorithm 1. Definition of Gradient
BP Algorithm for Feed-Forward Neural Network Model 2. Gradient Descent Algorithm (GDA)
Convolutional Neural Network 3. Difference between GDA and Newton's Method
Deep Learning 4. An example
Gauss-Newton method
Suppose the objective function f(x) has the second order continuous partial
derivative; xk is an approximation of its minimum point. The second order
Taylor polynomial approximation of f(x) near xk is shown as follows:
Its gradient is
then
where H(xk) is the Hessian matrix of f(x) at point xk.
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
Gradient Descent Algorithm 1. Definition of Gradient
BP Algorithm for Feed-Forward Neural Network Model 2. Gradient Descent Algorithm (GDA)
Convolutional Neural Network 3. Difference between GDA and Newton's Method
Deep Learning 4. An example
Gauss-Newton method
The minimizing process of Gauss-Newton method can be represented as:
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
Gradient Descent Algorithm 1. Definition of Gradient
BP Algorithm for Feed-Forward Neural Network Model 2. Gradient Descent Algorithm (GDA)
Convolutional Neural Network 3. Difference between GDA and Newton's Method
Deep Learning 4. An example
Gauss-Newton method
wi
1 ''
fT x fT xn x f xn f '
xn x f xn x 2 .
2
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
Gradient Descent Algorithm 1. Definition of Gradient
BP Algorithm for Feed-Forward Neural Network Model 2. Gradient Descent Algorithm (GDA)
Convolutional Neural Network 3. Difference between GDA and Newton's Method
Deep Learning 4. An example
Gauss-Newton method
We want to find Δx such that xn + Δx is a stationary point. We seek to solve the e
quation that sets the derivative of this last expression with respect to Δx equal t
o zero:
d 1 ''
n n f xn x 2 f ' xn f '' xn x.
'
0 f x f x x
d x 2
For the value of Δx = −f ′(xn) / f ″(xn), which
x , t is, the solution
x of this equation, it can t
be hoped that xn+1 = xn + Δx = xn − f ′(xn) / f ″(xn) will be closer to a stationary point
x*. Provided that f is a twice-differentiable function and other technical condition
s are satisfied, the sequence x1, x2, ∙∙∙ will converge to a point x* satisfying f ′(x*)
= 0.
1
x n 1 x n H f xn f xn , n 0.
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
Gradient Descent Algorithm 1. Definition of Gradient
BP Algorithm for Feed-Forward Neural Network Model 2. Gradient Descent Algorithm (GDA)
Convolutional Neural Network 3. Difference between GDA and Newton's Method
Deep Learning 4. An example
从本质上去看,牛顿法是二阶收敛,梯度下降是一阶收敛
,所以牛顿法就更快。如果更通俗地说的话,比如你想找
一条最短的路径走到一个盆地的最底部,梯度下降法每次
只从你当前所处位置选一个坡度最大的方向走一步,牛顿
法在选择方向时,不仅会考虑坡度是否够大,还会考虑你
走了一步之后,坡度是否会变得更大。
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
Gradient Descent Algorithm 1. Definition of Gradient
BP Algorithm for Feed-Forward Neural Network Model 2. Gradient Descent Algorithm (GDA)
Convolutional Neural Network 3. Difference between GDA and Newton's Method
Deep Learning 4. An example
1. Definition of gradient
2. Gradient descent algorithm (GDA)
3. Difference between GDA and Newton’s method
4. An example
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
Gradient Descent Algorithm 1. Definition of Gradient
BP Algorithm for Feed-Forward Neural Network Model 2. Gradient Descent Algorithm (GDA)
Convolutional Neural Network 3. Difference between GDA and Newton's Method
Deep Learning 4. An example
Newton’s method
Example
x, t , x0
The initial value of x is 2.
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
Gradient Descent Algorithm 1. Definition of Gradient
BP Algorithm for Feed-Forward Neural Network Model 2. Gradient Descent Algorithm (GDA)
Convolutional Neural Network 3. Difference between GDA and Newton's Method
Deep Learning 4. An example
Gradient Descent
Algorithm
The End.
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An application
6. Questions
Outline
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
David Geoffrey
Rumelhart Everest Hinton
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
An intuitive example
Digit “3”
Digit “8”
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
An intuitive example
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
An intuitive example
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
An intuitive example
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
Backwards pass
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
Backwards pass
https://mattmazur.com/2015/03/17/a-step-by-step-backpropagation-example/
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
x AT A
1
AT b,
Iteration method, approaches the optimal solution gradually through each updating
step.
Gradient descent, which belongs to iteration methods, is available for least squares
problems.
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
1. Brief introduction
2. Feedforward NN
3. BP algorithm
4. Notes on BP
5. An application
6. Questions
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
• Learning essence :
– Dynamically update connection weights
• Learning rule :
– It is the rule of how updating the connection weights
(What rule is followed)
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
2. Feature: the inputs of the algorithm, which are used to describe the
samples.
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
The key differences between standard gradient descent and stochastic gradient
descent are:
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
1. Brief introduction
2. Feedforward NN
3. BP algorithm
4. Notes on BP
5. An application
6. Questions
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
1. Brief introduction
2. Feedforward NN
3. BP algorithm
4. Notes on BP
5. An application
6. Questions
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
Questions:
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning
1. Brief Introduction
Gradient Descent Algorithm 2. Feedforward NN
BP Algorithm for Feed-Forward Neural Network Model 3. BP Algorithm
Convolutional Neural Network 4. Notes on BP
Deep Learning 5. An Application
6. Questions
Feedforward NN and
BP Algorithm
The End.
Machine Learning Lecture – Xizhao Wang Lecture 03: Neural Network and Deep Learning