Keras DL Framework
Keras DL Framework
CBIIT/FNL Workshop
November 6, 2019
1
Outline
2
Why Deep Learning?
ISBI 2012 brain segmentation ICPR 2012 cancer detection MICCAI 2013 Grand Challenge
3
Why Deep Learning?
4
Why Keras?
If (circles):
if (brown-ish):
if (two triangles):
picture = dog
else:
picture = food
8
How does it work?
Dog Food
Food Dog
Dog Food
. Dog
.
.
Dog Food
Food Dog
Food
9
How does it work?
10
How does it work?
11
How does it work?
• Input
12
How does it work?
• Convolution
Convolution operation
Image credit: the data science blog
• Convolution
Convolution operation
Image credit: the data science blog
16
How does it work?
• Story so far
17
How does it work?
19
How does it work?
Image credit: Deep Learning made easy with Deep Cognition from Medium
21
How does it work?
• How to train?
• Gradient Descent and Backpropagation
• How to train?
• Gradient Descent is too slow
Different optimization methods on loss surface contours Optimization methods on saddle point
Image Source: Sebastian Ruder webpage Image Source: Sebastian Ruder webpage
23
Know Your Data
24
Know Your Data
25
Build/Train/Test your own network
26
Glossary
Image Source: What is underfitting and overfitting in machine learning and how to deal with it., Medium
27
Glossary
p=0 0
p=1 0
28
Environment Setup
29