Introduction to deep learning

Nhập môn Deep Learning với Python

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
Nhập môn Deep Learning với Python

Example as seen by linear regression

ch1_1.003.png

Nhập môn Deep Learning với Python

Example as seen by linear regression

ch1_1.004.png

Nhập môn Deep Learning với Python

Example as seen by linear regression

ch1_1.005.png

Nhập môn Deep Learning với Python

Example as seen by linear regression

ch1_1.006.png

Nhập môn Deep Learning với Python

Example as seen by linear regression

ch1_1.007.png

Nhập môn Deep Learning với Python

Example as seen by linear regression

ch1_1.008.png

Nhập môn Deep Learning với Python

Example as seen by linear regression

ch1_1.009.png

Nhập môn Deep Learning với Python

Example as seen by linear regression

ch1_1.011.png

Nhập môn Deep Learning với Python

Example as seen by linear regression

ch1_1.012.png

Nhập môn Deep Learning với Python

Example as seen by linear regression

ch1_1.013.png

Nhập môn Deep Learning với Python

Example as seen by linear regression

ch1_1.014.png

Nhập môn Deep Learning với Python

Example as seen by linear regression

ch1_1.015.png

Nhập môn Deep Learning với Python

Example as seen by linear regression

ch1_1.016.png

Nhập môn Deep Learning với Python

Example as seen by linear regression

ch1_1.017.png

Nhập môn Deep Learning với Python

Interactions

  • Neural networks account for interactions really well
  • Deep learning uses especially powerful neural networks
    • Text
    • Images
    • Videos
    • Audio
    • Source code
Nhập môn Deep Learning với Python

Course structure

  • First two chapters focus on conceptual knowledge
    • Debug and tune deep learning models on conventional prediction problems
    • Lay the foundation for progressing towards modern applications
  • This will pay off in the third and fourth chapters
Nhập môn Deep Learning với Python

Build and tune deep learning models using keras

import numpy as np
from tensorflow.keras.layers import Dense
from tensorflow.keras.models import Sequential
predictors = np.loadtxt('predictors_data.csv', delimiter=',')
n_cols = predictors.shape[1]
model = Sequential()

model.add(Dense(100, activation='relu', input_shape = (n_cols,)))
model.add(Dense(100, activation='relu'))
model.add(Dense(1))
Nhập môn Deep Learning với Python

Deep learning models capture interactions

ch1_1.033.png

Nhập môn Deep Learning với Python

Deep learning models capture interactions

ch1_1.034.png

Nhập môn Deep Learning với Python

Deep learning models capture interactions

ch1_1.035.png

Nhập môn Deep Learning với Python

Interactions in neural network

ch1_1.037.png

Nhập môn Deep Learning với Python

Interactions in neural network

ch1_1.038.png

Nhập môn Deep Learning với Python

Interactions in neural network

ch1_1.039.png

Nhập môn Deep Learning với Python

Interactions in neural network

ch1_1.040.png

Nhập môn Deep Learning với Python

Interactions in neural network

ch1_1.041.png

Nhập môn Deep Learning với Python

Let's practice!

Nhập môn Deep Learning với Python

Preparing Video For Download...