Convolutional neural neworks

Luis Serrano
A friendly introduction to
Convolutional Neural Networks
and Image Recognition
Person AlphabetComputer
 / /  / !
Simple World
Simple World
1
11
1
Simple World
 /
Keyboard
Image recognition software

/
-1 1
1 -1
1 -1
-1 1

/
1 -1 -1 1
-1 1 1 -1
+
+
-
-
+
-+
-
+ - +-
+ - +-
= 4
= -4
+1 +1 +1+1
-1 -1 -1-1
+ + + = 0
+ + + = 0
x x x = 1
x x x = 1
+ -
- +
Image Recognition Classifier
If positive, “”
If negative, “/”
-1 -1
1 -1
1 1
-1 1
-1 -1
1 -1
1 1
-1 1

/
+
+
-
-
+
-+
-
1 1 -1 1
-1 -1 1 -1
= 2
= -2
+1 -1 +1+1
-1 +1 -1-1
+ - +-
+ - +-
Artificial Intelligence
?
= 
= /
+ -
- +
Artificial Intelligence
- -
- -
- +
+ -
+ -
- -
- +
- +
- +
- -
- -
+ -
- -
+ +
+ +
+ -
- -
- +
+ +
- -
+ -
+ -
+ -
- +
+ +
- +
+ -
+ +
- +
+ +
+ +
+ +
16 choices
Artificial Intelligence
+ +
+ +
so-so
Artificial Intelligence
+ +
+ +
- +
+ +
+ -
+ +
+ +
+ -
+ +
- +so-so
worse
better
worse
better
Artificial Intelligence
+ +
+ +
- +
+ +
+ -
+ +
+ +
+ -
+ +
- +so-so
- -
+ +
+ -
- +
+ -
+ -
worse
better!
worse
Artificial Intelligence
Way too many choices
0.5 1.2
0.7 1.0
0.9 -0.7
-0.6 1.1
, , etc…
Gradient Descent
0.5 1.2
0.7 1.0 0.6 0.9
0.5 1.1
0.7 0.4
0.3 1.2
0.9 -0.2
-0.2 1.1
0.9 -0.7
-0.6 1.1
1 -1
-1 1
Lots of
errors
Derivatives
Few
errors
XOXO!
Slightly More Complex World
Person Alphabet
X O
Computer
X O
1 -1 -1
-1 1 -1
-1 -1 1

-1 -1 1
-1 1 -1
1 -1 -1
1 -1 1
-1 1 -1
1 -1 1
-1 1 -1
1 -1 1
-1 1 -1
/
X
O
1 -1 1
-1 1 -1
1 -1 1
+
+
-
-
+
-
+
- +
1 -1
-1 1
Previous Knowledge
-1 1
1 -1
X
O
/
1 -1 1
-1 1 -1
1 -1 1
-1 1 -1
1 -1 1
-1 1 -1
-1 -1 1
-1 1 -1
1 -1 -1
1 -1 -1
-1 1 -1
-1 -1 1

Convolutional Neural Network
Convolution Layer
Pooling Layer
Fully Connected
Layer
1 -1 1
-1 1 -1
1 -1 1
4 -4
-4 4
+ -
- +
+
+
-
-
-4 4
4 -4
- +
+ -
-
-
+
+
Convolution Layer Pooling Layer
1 -1 1
-1 1 -1
1 -1 1
-1 1 -1
1 -1 1
-1 1 -1
-4 4
4 -4
+ -
- +
+
+
-
-
4 -4
-4 4
- +
+ -
-
-
+
+
-1 1 -1
1 -1 1
-1 1 -1
1 -1 -1
-1 1 -1
-1 -1 1
4 -2
-2 4
+ -
- +
+
+
-
-
-4 2
2 -4
- +
+ -
-
-
+
+
1 -1 -1
-1 1 -1
-1 -1 1
-1 -1 1
-1 1 -1
1 -1 -1
2 -4
-4 2
+ -
- +
+
+
-
-
-2 4
4 -2
- +
+ -
-
-
+
+
-1 -1 1
-1 1 -1
1 -1 -1
Convolution Layer
Pooling Layer
Fully Connected Layer
1 -1 1
-1 1 -1
1 -1 1
-1 1 -1
1 -1 1
-1 1 -1
-1 -1 1
-1 1 -1
1 -1 -1
1 -1 -1
-1 1 -1
-1 -1 1
1 -1 -1 1
-1 1 1 -1
-1 1 1 -1
1 -1 -1 1
-1 -1 -1 -1
-1 1 1 -1
1 -1 -1 1
-1 -1 -1 -1
1 -1 1
-1 1 -1
1 -1 1
1 -1 -1 1
-1 1 1 -1
-1 1 -1
1 -1 1
-1 1 -1
-1 1 1 -1
1 -1 -1 1
-1 -1 1
-1 1 -1
1 -1 -1
-1 -1 -1 -1
-1 1 1 -1
1 -1 -1
-1 1 -1
-1 -1 1
1 -1 -1 1
-1 -1 -1 -1
+ - - +
- + + - X
- + + -
+ - - +
- - - -
- + + -
+ - - +
- - - -
O
/

Filters
1 -1 1
-1 1 -1
1 -1 1
1 -1 -1 1
-1 1 1 -1
+ - - +
- + + -
- + + -
+ - - +
- - - -
- + + -
+ - - +
- - - -
8X
O
/

-8
4
4
+1 +1 +1+1
+1 +1 +1+1
-1 1 -1
1 -1 1
-1 1 -1
-1 1 1 -1
1 -1 -1 1
+ - - +
- + + -
- + + -
+ - - +
- - - -
- + + -
+ - - +
- - - -
-8X
O
/

8
-4
-4
-1 -1 1
-1 1 -1
1 -1 -1
-1 -1 -1 -1
-1 1 1 -1
+ - - +
- + + -
- + + -
+ - - +
- - - -
- + + -
+ - - +
- - - -
4X
O
/

-4
8
0
1 -1 -1
-1 1 -1
-1 -1 1
1 -1 -1 1
-1 -1 -1 -1
+ - - +
- + + -
- + + -
+ - - +
- - - -
- + + -
+ - - +
- - - -
4X
O
/

-4
0
8
1 -1 1
-1 1 -1
1 -1 1
-1 1 -1
1 -1 1
-1 1 -1
-1 -1 1
-1 1 -1
1 -1 -1
1 -1 -1
-1 1 -1
-1 -1 1
X
O
/

Convolutional Neural Network
Convolution Layer
Pooling Layer
Fully Connected
Layer
+ -
- +
+ -
- +
+ -
- +
+ -
- +
- +
+ -
- +
+ -
- +
+ -
- +
+ -
+ - - +
- + + -
- + + -
+ - - +
- - - -
- + + -
+ - - +
- - - -
1 -1 -1 1
-1 1 1 -1
-1 1 1 -1
1 -1 -1 1
-1 -1 -1 -1
-1 1 1 -1
1 -1 -1 1
-1 -1 -1 -1
1 -1 1
-1 1 -1
1 -1 1
X
O
/

Convolution Layer Pooling Layer Fully Connected Layer
+ -
- +
+ -
- +
+ -
- +
+ -
- +
- +
+ -
- +
+ -
- +
+ -
- +
+ -
+ - - +
- + + -
- + + -
+ - - +
- - - -
- + + -
+ - - +
- - - -
1 -1 -1 1
-1 1 1 -1
1 -1 1
-1 1 -1
1 -1 1
X
O
/

Convolution Layer Pooling Layer Fully Connected Layer
8
-8
4
4
X O
Artificial Intelligence
?
Gradient Descent
X O
Lots of
errors
Few
errors
People Computer Alphabet
Advanced World
Convolutional neural neworks
Convolutional neural neworks
http://serrano.academy
https://www.linkedin.com/in/luisgserrano
https://www.youtube.com/c/LuisSerrano
Twitter: luis_likes_math
Subscribe, like, share, comment
1 of 46

Recommended

Generative Adversarial Networks (GANs) by
Generative Adversarial Networks (GANs)Generative Adversarial Networks (GANs)
Generative Adversarial Networks (GANs)Luis Serrano
422 views57 slides
Deep Learning - Convolutional Neural Networks - Architectural Zoo by
Deep Learning - Convolutional Neural Networks - Architectural ZooDeep Learning - Convolutional Neural Networks - Architectural Zoo
Deep Learning - Convolutional Neural Networks - Architectural ZooChristian Perone
26.2K views40 slides
Deep Learning Tutorial | Deep Learning TensorFlow | Deep Learning With Neural... by
Deep Learning Tutorial | Deep Learning TensorFlow | Deep Learning With Neural...Deep Learning Tutorial | Deep Learning TensorFlow | Deep Learning With Neural...
Deep Learning Tutorial | Deep Learning TensorFlow | Deep Learning With Neural...Simplilearn
1.8K views72 slides
Introduction to Generative Adversarial Networks (GANs) by
Introduction to Generative Adversarial Networks (GANs)Introduction to Generative Adversarial Networks (GANs)
Introduction to Generative Adversarial Networks (GANs)Appsilon Data Science
13.4K views13 slides
Convolutional Neural Networks (CNN) by
Convolutional Neural Networks (CNN)Convolutional Neural Networks (CNN)
Convolutional Neural Networks (CNN)Gaurav Mittal
58.5K views70 slides
Deep Learning Tutorial | Deep Learning Tutorial For Beginners | What Is Deep ... by
Deep Learning Tutorial | Deep Learning Tutorial For Beginners | What Is Deep ...Deep Learning Tutorial | Deep Learning Tutorial For Beginners | What Is Deep ...
Deep Learning Tutorial | Deep Learning Tutorial For Beginners | What Is Deep ...Simplilearn
874 views84 slides

More Related Content

What's hot

Deep Learning Introduction Lecture by
Deep Learning Introduction LectureDeep Learning Introduction Lecture
Deep Learning Introduction Lectureshivam chaurasia
129 views14 slides
Deep Learning in Computer Vision by
Deep Learning in Computer VisionDeep Learning in Computer Vision
Deep Learning in Computer VisionSungjoon Choi
10.4K views271 slides
Machine Learning - Convolutional Neural Network by
Machine Learning - Convolutional Neural NetworkMachine Learning - Convolutional Neural Network
Machine Learning - Convolutional Neural NetworkRichard Kuo
1K views36 slides
ViT (Vision Transformer) Review [CDM] by
ViT (Vision Transformer) Review [CDM]ViT (Vision Transformer) Review [CDM]
ViT (Vision Transformer) Review [CDM]Dongmin Choi
4.1K views25 slides
Cnn by
CnnCnn
CnnNirthika Rajendran
14K views31 slides
Convolutional Neural Network - CNN | How CNN Works | Deep Learning Course | S... by
Convolutional Neural Network - CNN | How CNN Works | Deep Learning Course | S...Convolutional Neural Network - CNN | How CNN Works | Deep Learning Course | S...
Convolutional Neural Network - CNN | How CNN Works | Deep Learning Course | S...Simplilearn
13.6K views63 slides

What's hot(20)

Deep Learning in Computer Vision by Sungjoon Choi
Deep Learning in Computer VisionDeep Learning in Computer Vision
Deep Learning in Computer Vision
Sungjoon Choi10.4K views
Machine Learning - Convolutional Neural Network by Richard Kuo
Machine Learning - Convolutional Neural NetworkMachine Learning - Convolutional Neural Network
Machine Learning - Convolutional Neural Network
Richard Kuo1K views
ViT (Vision Transformer) Review [CDM] by Dongmin Choi
ViT (Vision Transformer) Review [CDM]ViT (Vision Transformer) Review [CDM]
ViT (Vision Transformer) Review [CDM]
Dongmin Choi4.1K views
Convolutional Neural Network - CNN | How CNN Works | Deep Learning Course | S... by Simplilearn
Convolutional Neural Network - CNN | How CNN Works | Deep Learning Course | S...Convolutional Neural Network - CNN | How CNN Works | Deep Learning Course | S...
Convolutional Neural Network - CNN | How CNN Works | Deep Learning Course | S...
Simplilearn13.6K views
Convolutional Neural Network (CNN) by Muhammad Haroon
Convolutional Neural Network (CNN)Convolutional Neural Network (CNN)
Convolutional Neural Network (CNN)
Muhammad Haroon832 views
Transformers in Vision: From Zero to Hero by Bill Liu
Transformers in Vision: From Zero to HeroTransformers in Vision: From Zero to Hero
Transformers in Vision: From Zero to Hero
Bill Liu1.8K views
Convolution Neural Network (CNN) by Suraj Aavula
Convolution Neural Network (CNN)Convolution Neural Network (CNN)
Convolution Neural Network (CNN)
Suraj Aavula13.8K views
Label propagation - Semisupervised Learning with Applications to NLP by David Przybilla
Label propagation - Semisupervised Learning with Applications to NLPLabel propagation - Semisupervised Learning with Applications to NLP
Label propagation - Semisupervised Learning with Applications to NLP
David Przybilla14.9K views
Convolutional neural network by Yan Xu
Convolutional neural network Convolutional neural network
Convolutional neural network
Yan Xu5.3K views
Convolutional Neural Network (CNN) - image recognition by YUNG-KUEI CHEN
Convolutional Neural Network (CNN)  - image recognitionConvolutional Neural Network (CNN)  - image recognition
Convolutional Neural Network (CNN) - image recognition
YUNG-KUEI CHEN4.3K views
Soft Computing-173101 by AMIT KUMAR
Soft Computing-173101Soft Computing-173101
Soft Computing-173101
AMIT KUMAR3.1K views
Deep Learning Tutorial by Amr Rashed
Deep Learning TutorialDeep Learning Tutorial
Deep Learning Tutorial
Amr Rashed5.4K views
Generative adversarial networks by Yunjey Choi
Generative adversarial networksGenerative adversarial networks
Generative adversarial networks
Yunjey Choi9.2K views
Artificial Intelligence, Machine Learning and Deep Learning by Sujit Pal
Artificial Intelligence, Machine Learning and Deep LearningArtificial Intelligence, Machine Learning and Deep Learning
Artificial Intelligence, Machine Learning and Deep Learning
Sujit Pal22.9K views
Deep learning - A Visual Introduction by Lukas Masuch
Deep learning - A Visual IntroductionDeep learning - A Visual Introduction
Deep learning - A Visual Introduction
Lukas Masuch57.5K views
Decision Tree Algorithm With Example | Decision Tree In Machine Learning | Da... by Simplilearn
Decision Tree Algorithm With Example | Decision Tree In Machine Learning | Da...Decision Tree Algorithm With Example | Decision Tree In Machine Learning | Da...
Decision Tree Algorithm With Example | Decision Tree In Machine Learning | Da...
Simplilearn6.1K views

Similar to Convolutional neural neworks

DL_Lecture_29_06_2020.pptx by
DL_Lecture_29_06_2020.pptxDL_Lecture_29_06_2020.pptx
DL_Lecture_29_06_2020.pptxAmlanChakrabarti3
3 views100 slides
Deep Learning - STM 6 by
Deep Learning - STM 6Deep Learning - STM 6
Deep Learning - STM 6Tricode (part of Dept)
1.8K views95 slides
Optimization techniques in formulation Development- Plackett Burmann Design a... by
Optimization techniques in formulation Development- Plackett Burmann Design a...Optimization techniques in formulation Development- Plackett Burmann Design a...
Optimization techniques in formulation Development- Plackett Burmann Design a...D.R. Chandravanshi
4.4K views27 slides
Introduction to machinel learning and deep learning by
Introduction to machinel learning and deep learningIntroduction to machinel learning and deep learning
Introduction to machinel learning and deep learningIbrahim Amer
687 views100 slides
Digital Image Processing by
Digital Image ProcessingDigital Image Processing
Digital Image ProcessingSofian Hadiwijaya
454 views79 slides
Deep Learning con CNTK by Pablo Doval by
Deep Learning con CNTK by Pablo DovalDeep Learning con CNTK by Pablo Doval
Deep Learning con CNTK by Pablo DovalPlain Concepts
259 views65 slides

Similar to Convolutional neural neworks(8)

More from Luis Serrano

Linear regression by
Linear regressionLinear regression
Linear regressionLuis Serrano
274 views44 slides
Support vector machines (SVM) by
Support vector machines (SVM)Support vector machines (SVM)
Support vector machines (SVM)Luis Serrano
212 views64 slides
Logistic regression by
Logistic regressionLogistic regression
Logistic regressionLuis Serrano
174 views94 slides
Singular value decomposition (SVD) by
Singular value decomposition (SVD)Singular value decomposition (SVD)
Singular value decomposition (SVD)Luis Serrano
469 views89 slides
Restricted Boltzmann Machines (RBM) by
Restricted Boltzmann Machines (RBM)Restricted Boltzmann Machines (RBM)
Restricted Boltzmann Machines (RBM)Luis Serrano
203 views139 slides
Bayes theorem and Naive Bayes algorithm by
Bayes theorem and Naive Bayes algorithmBayes theorem and Naive Bayes algorithm
Bayes theorem and Naive Bayes algorithmLuis Serrano
387 views207 slides

More from Luis Serrano(8)

Support vector machines (SVM) by Luis Serrano
Support vector machines (SVM)Support vector machines (SVM)
Support vector machines (SVM)
Luis Serrano212 views
Singular value decomposition (SVD) by Luis Serrano
Singular value decomposition (SVD)Singular value decomposition (SVD)
Singular value decomposition (SVD)
Luis Serrano469 views
Restricted Boltzmann Machines (RBM) by Luis Serrano
Restricted Boltzmann Machines (RBM)Restricted Boltzmann Machines (RBM)
Restricted Boltzmann Machines (RBM)
Luis Serrano203 views
Bayes theorem and Naive Bayes algorithm by Luis Serrano
Bayes theorem and Naive Bayes algorithmBayes theorem and Naive Bayes algorithm
Bayes theorem and Naive Bayes algorithm
Luis Serrano387 views
PCA (Principal Component Analysis) by Luis Serrano
PCA (Principal Component Analysis)PCA (Principal Component Analysis)
PCA (Principal Component Analysis)
Luis Serrano1.1K views
Matrix factorization by Luis Serrano
Matrix factorizationMatrix factorization
Matrix factorization
Luis Serrano780 views

Recently uploaded

[DSC Europe 23] Ivana Sesic - Use of AI in Public Health.pptx by
[DSC Europe 23] Ivana Sesic - Use of AI in Public Health.pptx[DSC Europe 23] Ivana Sesic - Use of AI in Public Health.pptx
[DSC Europe 23] Ivana Sesic - Use of AI in Public Health.pptxDataScienceConferenc1
5 views15 slides
shivam tiwari.pptx by
shivam tiwari.pptxshivam tiwari.pptx
shivam tiwari.pptxAanyaMishra4
5 views14 slides
SAP-TCodes.pdf by
SAP-TCodes.pdfSAP-TCodes.pdf
SAP-TCodes.pdfmustafaghulam8181
10 views285 slides
[DSC Europe 23] Danijela Horak - The Innovator’s Dilemma: to Build or Not to ... by
[DSC Europe 23] Danijela Horak - The Innovator’s Dilemma: to Build or Not to ...[DSC Europe 23] Danijela Horak - The Innovator’s Dilemma: to Build or Not to ...
[DSC Europe 23] Danijela Horak - The Innovator’s Dilemma: to Build or Not to ...DataScienceConferenc1
5 views19 slides
[DSC Europe 23] Milos Grubjesic Empowering Business with Pepsico s Advanced M... by
[DSC Europe 23] Milos Grubjesic Empowering Business with Pepsico s Advanced M...[DSC Europe 23] Milos Grubjesic Empowering Business with Pepsico s Advanced M...
[DSC Europe 23] Milos Grubjesic Empowering Business with Pepsico s Advanced M...DataScienceConferenc1
7 views11 slides
OECD-Persol Holdings Workshop on Advancing Employee Well-being in Business an... by
OECD-Persol Holdings Workshop on Advancing Employee Well-being in Business an...OECD-Persol Holdings Workshop on Advancing Employee Well-being in Business an...
OECD-Persol Holdings Workshop on Advancing Employee Well-being in Business an...StatsCommunications
5 views26 slides

Recently uploaded(20)

[DSC Europe 23] Danijela Horak - The Innovator’s Dilemma: to Build or Not to ... by DataScienceConferenc1
[DSC Europe 23] Danijela Horak - The Innovator’s Dilemma: to Build or Not to ...[DSC Europe 23] Danijela Horak - The Innovator’s Dilemma: to Build or Not to ...
[DSC Europe 23] Danijela Horak - The Innovator’s Dilemma: to Build or Not to ...
[DSC Europe 23] Milos Grubjesic Empowering Business with Pepsico s Advanced M... by DataScienceConferenc1
[DSC Europe 23] Milos Grubjesic Empowering Business with Pepsico s Advanced M...[DSC Europe 23] Milos Grubjesic Empowering Business with Pepsico s Advanced M...
[DSC Europe 23] Milos Grubjesic Empowering Business with Pepsico s Advanced M...
OECD-Persol Holdings Workshop on Advancing Employee Well-being in Business an... by StatsCommunications
OECD-Persol Holdings Workshop on Advancing Employee Well-being in Business an...OECD-Persol Holdings Workshop on Advancing Employee Well-being in Business an...
OECD-Persol Holdings Workshop on Advancing Employee Well-being in Business an...
UNEP FI CRS Climate Risk Results.pptx by pekka28
UNEP FI CRS Climate Risk Results.pptxUNEP FI CRS Climate Risk Results.pptx
UNEP FI CRS Climate Risk Results.pptx
pekka2811 views
PRIVACY AWRE PERSONAL DATA STORAGE by antony420421
PRIVACY AWRE PERSONAL DATA STORAGEPRIVACY AWRE PERSONAL DATA STORAGE
PRIVACY AWRE PERSONAL DATA STORAGE
antony4204215 views
[DSC Europe 23] Predrag Ilic & Simeon Rilling - From Data Lakes to Data Mesh ... by DataScienceConferenc1
[DSC Europe 23] Predrag Ilic & Simeon Rilling - From Data Lakes to Data Mesh ...[DSC Europe 23] Predrag Ilic & Simeon Rilling - From Data Lakes to Data Mesh ...
[DSC Europe 23] Predrag Ilic & Simeon Rilling - From Data Lakes to Data Mesh ...
CRM stick or twist.pptx by info828217
CRM stick or twist.pptxCRM stick or twist.pptx
CRM stick or twist.pptx
info82821711 views
3196 The Case of The East River by ErickANDRADE90
3196 The Case of The East River3196 The Case of The East River
3196 The Case of The East River
ErickANDRADE9017 views
CRM stick or twist workshop by info828217
CRM stick or twist workshopCRM stick or twist workshop
CRM stick or twist workshop
info82821711 views
Data Journeys Hard Talk workshop final.pptx by info828217
Data Journeys Hard Talk workshop final.pptxData Journeys Hard Talk workshop final.pptx
Data Journeys Hard Talk workshop final.pptx
info82821710 views
Data about the sector workshop by info828217
Data about the sector workshopData about the sector workshop
Data about the sector workshop
info82821715 views
Short Story Assignment by Kelly Nguyen by kellynguyen01
Short Story Assignment by Kelly NguyenShort Story Assignment by Kelly Nguyen
Short Story Assignment by Kelly Nguyen
kellynguyen0119 views
[DSC Europe 23][Cryptica] Martin_Summer_Digital_central_bank_money_Ideas_init... by DataScienceConferenc1
[DSC Europe 23][Cryptica] Martin_Summer_Digital_central_bank_money_Ideas_init...[DSC Europe 23][Cryptica] Martin_Summer_Digital_central_bank_money_Ideas_init...
[DSC Europe 23][Cryptica] Martin_Summer_Digital_central_bank_money_Ideas_init...
[DSC Europe 23][AI:CSI] Aleksa Stojanovic - Applying AI for Threat Detection ... by DataScienceConferenc1
[DSC Europe 23][AI:CSI] Aleksa Stojanovic - Applying AI for Threat Detection ...[DSC Europe 23][AI:CSI] Aleksa Stojanovic - Applying AI for Threat Detection ...
[DSC Europe 23][AI:CSI] Aleksa Stojanovic - Applying AI for Threat Detection ...
Survey on Factuality in LLM's.pptx by NeethaSherra1
Survey on Factuality in LLM's.pptxSurvey on Factuality in LLM's.pptx
Survey on Factuality in LLM's.pptx
NeethaSherra17 views

Convolutional neural neworks