Documente Academic
Documente Profesional
Documente Cultură
Demo
Forward
Activation
Propagation
Functions
Algorithm
Forward
Activation
Propagation
Functions
Algorithm
Age
Bank Balance
Number of
Transactions
Retirement
Status
…
What is
Deep Interactions
Learning
Age
Bank Balance
Number of
Transactions
Retirement
Status
…
What is
Deep Interactions in neural networks
Learning
Input Layer
Hidden Layer
Age
Output Layer
Bank Balance
Number of
Transactions
Retirement
Status
# Accounts
What is
Deep Forward Propagation Algorithm
Learning
Input
Hidden
# Children 2 1
5
1 2 Output
-1
9 # Transactions
-1
1
1
# Accounts 3
What is
Deep Fundamental concepts in Deep Learning
Learning
Forward
Activation
Propagation
Functions
Algorithm
Input
Hidden
# Children 2 1
tanh (2+3)
1 2 Output
-1
9 # Transactions
-1
1
tanh (-2+3)
# Accounts 3
What is
Deep ReLU Activation Function
Learning
Input
Hidden Hidden
3 2
-1
26 0
4 1 -3 Output
7
364
4
2
2
-5
0 52
5
What is
Deep Representation Learning
Learning
o When you train the model, the neural network gets weights that find the
relevant patterns to make better predictions
What is
Deep Fundamental concepts in Deep Learning
Learning
Forward
Activation
Propagation
Functions
Algorithm
o Loss function
* Aggregate errors in predictions from many data points into single number
* Measure of model’s predictive performance
What is
Deep The Need for Optimization
Learning
o Squared error loss function
Prediction Actual Error Squared Error
10 20 -10 100
8 3 5 25
6 1 5 25
Loss(w)
w
What is
Deep Gradient Descent
Learning
o Slope calculation example
2
3 6 Actual Target Value = 10
Forward
Activation
Propagation
Functions
Algorithm
Input
Hidden Hidden
3
26 0
Output
364
0 52
5
What is
Deep Backpropagation
Learning
o Allows gradient descent to update all weights in neural network (by getting gradients
for all weights)
o Important to understand the process, but you will generally use a library that
implements this
MXNetR
Deep • Feed-forward neural network
• Convolutional neural network (CNN)
Learning
with R darch
• Restricted Boltzmann machine
• Deep belief network
deepnet
• Feed-forward neural network
• Restricted Boltzmann machine
• Deep belief network
• Stacked autoencoders
H2O
• Feed-forward neural network
• Deep autoencoders
deepr
• Simplify some functions from H2O
• Deepnet packages
MNIST Iris Forest Cover Type
Deep Model/Dataset
Learning Accuracy (%) Runtime (sec) Accuracy (%) Runtime (sec) Accuracy (%) Runtime (sec)
with R
MXNetR (CPU) 98.33 147.78 83.04 1.46 66.8 30.24
o Specify architecture
o Predict
Demo Preparing the Data
Demo Defining the Model
Demo Defining the Model
Demo Defining the Model
Demo Training and Evaluation
References
http://blog.revolutionanalytics.com/2017/08/keras-and-cntk.html
http://www.rblog.uni-freiburg.de
https://keras.rstudio.com/
https://campus.datacamp.com/courses/deep-learning
http://gluon.mxnet.io
Thank You!
Francesca Lazzeri - @frlazzeri
Data Scientist II - Microsoft, AI Research