Chapter 1
Chapter 1
learning
I N T R O D U C T I O N TO D E E P L E A R N I N G I N P Y T H O N
Dan Becker
Data Scientist and contributor to Keras
and TensorFlow libraries
Imagine you work for a bank
You need to predict how many transactions each customer will
make next year
Images
Videos
Audio
Source code
Dan Becker
Data Scientist and contributor to Keras
and TensorFlow libraries
Bank transactions example
Make predictions based on:
Number of children
Dot product
print(hidden_layer_values)
[5, 1]
print(output)
Dan Becker
Data Scientist and contributor to Keras
and TensorFlow libraries
Linear vs Nonlinear Functions
print(output)
1.2382242525694254
Dan Becker
Data Scientist and contributor to Keras
and TensorFlow libraries
Multiple hidden layers
When you train the model, the neural network gets weights that
nd the relevant patterns to make better predictions