Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Introduction to Deep Learning and Neural Networks.
Search
Bedanta Bikash Borah
July 24, 2018
Education
0
240
Introduction to Deep Learning and Neural Networks.
Bedanta Bikash Borah
July 24, 2018
Tweet
Share
More Decks by Bedanta Bikash Borah
See All by Bedanta Bikash Borah
Thinking beyond platforms with KMP
iambedant
0
9
Let's Stream that Video - an ExoPlayer Starters Guide
iambedant
0
120
A tale of Multiplatform
iambedant
0
91
A Full-Stack app with Kotlin —by an Android Developer
iambedant
2
230
Other Decks in Education
See All in Education
Sponsor the Conference | VizChitra 2025
vizchitra
0
540
社外コミュニティと「学び」を考える
alchemy1115
2
160
プログラミング教育する大学、ZEN大学
sifue
1
530
View Manipulation and Reduction - Lecture 9 - Information Visualisation (4019538FNR)
signer
PRO
1
2k
アウトプット0のエンジニアが半年でアウトプットしまくった話 With JAWS-UG
masakiokuda
2
300
2025年度春学期 統計学 第3回 クロス集計と感度・特異度,データの可視化 (2025. 4. 24)
akiraasano
PRO
0
120
2025年度春学期 統計学 第2回 統計資料の収集と読み方(講義前配付用) (2025. 4. 17)
akiraasano
PRO
0
140
女子商アプリ開発の軌跡
asial_edu
0
390
IMU-00 Pi
kanaya
0
360
ANS-C01_2回不合格から合格までの道程
amarelo_n24
1
240
2025年度春学期 統計学 第1回 イントロダクション (2025. 4. 10)
akiraasano
PRO
0
170
Gesture-based Interaction - Lecture 6 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
1.7k
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
69
11k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
16
940
We Have a Design System, Now What?
morganepeng
52
7.6k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.5k
Thoughts on Productivity
jonyablonski
69
4.7k
Done Done
chrislema
184
16k
Documentation Writing (for coders)
carmenintech
71
4.9k
Building Adaptive Systems
keathley
43
2.6k
Making the Leap to Tech Lead
cromwellryan
134
9.3k
The Cult of Friendly URLs
andyhume
79
6.4k
Bash Introduction
62gerente
614
210k
Transcript
Introduction to Deep Learning and Neural Networks. Bedanta Bikash Borah
@iamBedant
None
None
Agenda 1. What is Deep Learning? 2. Why Deep Learning
is taking off? 3. How Deep Learning works? 4. Training. 5. Example MNIST. 6. Code Sample. 7. Few extra concepts.
Deep Learning The term Deep Learning refers to training very
large Neural Network
What is Neural Network? House Size (X) Price (Y) 500
5 Laks 600 8 Laks 700 9 Laks 800 13 Laks 900 12 Laks 1100 18 Laks 1200 20 Laks
Housing Price Prediction 0 laks 5 laks 10 laks 15
laks 20 laks 000 sq ft 300 sq ft 600 sq ft 900 sq ft 1200 sq ft What is Neural Network?
What is Neural Network? x Y Size of the House
Price of the House Neuron Function F Input Output
What is Neural Network? Size No of bedrooms Locality Society
Y Family Size Walkability School/Market Quality
What is Neural Network? X1 X2 X3 X4 Y Size
No of bedrooms Locality Society
Deep Neural Network
Why DeepLearning taking off? Deep Neural Network Medium Neural Network
Traditional ML Algorithm Data Performance Not well defined
Why DeepLearning taking off? 1. Data 2. Computation 3. Algorithm
How DeepLearning Works? X1 X2 X3 X4 Y
How DeepLearning Works? X1 X2 X3 X4 Y f W1
W2 W3 W4 X1* W1 + X2 * W2 + X3 * W3 +X4 * W4 Z f( )= Relu (x) or Sigmoid(x) *ignoring bias for simplification Z =
How DeepLearning Works?
How DeepLearning Works? X1 X2 X3 X4 Y
Interviewer: What is your biggest strength? Me: I am an
expert in machine learning. Interviewer: What’s 9 + 10? Me: It’s 3. Interviewer: Nowhere near. It’s 19. Me: It’s 16. Interviewer: Wrong. It’s still 19 Me: It’s 18. Interviewer: No. It’s 19 Me: It’s 19. Interviewer: You’re hired
Training X1 X2 X3 X4 Y Y’ Random Initialisation
Training 1.Quadratic cost 2.Cross-entropy cost 3.Exponential cost Cost Function:
Training Grad Gradient Descent
Training Learning Rate (alpha)
Training Large Learning rate
Training Learning Rate (alpha)
Training New Weights = Existing Weights Learning Rate - *
Gradient ( )
Interviewer: What is your biggest strength? Me: I am an
expert in machine learning. Interviewer: What’s 9 + 10? Me: It’s 3. Interviewer: Nowhere near. It’s 19. Me: It’s 16. Interviewer: Wrong. It’s still 19 Me: It’s 18. Interviewer: No. It’s 19 Me: It’s 19. Interviewer: You’re hired.
Example MNIST
MNIST 60,000 training samples 10,000 test samples
MNIST
MNIST = 28 x 28 = 784
MNIST Softmax Image Vector Neural Network Layers
MNIST Softmax Image Vector Neural Network Layers
MNIST Softmax Image Vector Neural Network Layers
MNIST Softmax Image Vector Neural Network Layers
MNIST Softmax Image Vector Neural Network Layers
MNIST **from three blue one brown’s “But, what is a
neural network?” video**
Talk is cheap show me the code.
Advanced MNIST CNN (convolutional neural network)
Interviewer: What is your biggest strength? Me: I am an
expert in machine learning. Interviewer: What’s 9 + 10? Me: It’s 3. Interviewer: Nowhere near. It’s 19. Me: It’s 16. Interviewer: Wrong. It’s still 19 Me: It’s 18. Interviewer: No. It’s 19 Me: It’s 19. Interviewer: You’re hired.
Interviewer: What is your biggest strength? Me: I am an
expert in machine learning. Interviewer: What’s 9 + 10? Me: It’s 3. Interviewer: Nowhere near. It’s 19. Me: It’s 16. Interviewer: Wrong. It’s still 19 Me: It’s 18. Interviewer: No. It’s 19 Me: It’s 19. Interviewer: What’s 20 + 10? Me: It’s 19
Advanced MNIST Overfitting (Regularization, Dropout)
Extras
Reference https://github.com/iamBedant/CMRIT-Deeplearning-TechTalk-Demo Simple MNIST Example https://github.com/iamBedant/TensoreFlowLite Android TFLite Example Others:
https://www.tensorflow.org/ https://keras.io/
Thank You !!! @iamBedant