Deep Learning and CNN
Deep Learning and CNN
( Source: Wikipedia
)
Relationship of AI, ML
and DL Artificial Intelligence
Reinforcement Learning
● Reinforcement Learning
0 no training data; stochastic Markov decision process; robotics and
self-driving cars.
What is Deep Learning?
Deep learning is a class of machine learning algorithms that:
● use a cascade of multiple layers of nonlinear processing units
for feature extraction and transformation. Each successive
layer uses the output from the previous layer as input.
● learn in supervised (e.g., classification) and/or unsupervised
(e.g., pattern analysis) manners.
● learn multiple levels of representations that correspond to
different levels of abstraction; the levels form a hierarchy of
concepts.
(Source: Wikipedia)
DL model
4-Element
Vector
X Y
1
2 A
3 C M
4 T F
5 G
6
Error:
-
(Image Credit: NVIDIA Deep Learning
Institute)
Learning
Principle
Output/Prediction
Target Output
x x ….. x
Error:
1 2
- n
=5
Error:
-
(Image Credit: NVIDIA Deep Learning
Institute)
Learning
Principle
Output/Prediction
Target Output
x x ….. x
1 2 n
Error:
-
(Image Credit: NVIDIA Deep Learning
Institute)
Learning
Principle
= 15
Error:
-
(Image Credit: NVIDIA Deep Learning
Institute)
Learning
Principle
Output/Prediction
Target Output
x x ….. x
1 2 n
Error:
-
(Image Credit: NVIDIA Deep Learning
Institute)
Learning
Principle
= 2.5
Error:
-
(Image Credit: NVIDIA Deep Learning
Institute)
Supervised Deep Learning with Neural Networks
Training - Minimizing the Loss
The loss function with regard to weights Input Output
and biases can be defined as
W1, b1 X1
Y2
Convolution Kernel
(Image Credit: Applied Deep Learning | Arden Dertat)
Convolution on Image
Image Credit: Deep Learning Methods for Vision | CVPR 2012 Tutorial
Activation Functions
Image Credit: towardsdatascience.com
Introducing Non-Linearity (ReLU)
Image Credit: Deep Learning Methods for Vision | CVPR 2012 Tutorial
Max Pooling
(Image Credit: Applied Deep Learning | Arden Dertat)
Pooling - Max-Pooling and Sum-Pooling
Image Credit: Deep Learning Methods for Vision | CVPR 2012 Tutorial