Voorwaartse propagatie

Introductie tot Deep Learning in Python

Dan Becker

Data Scientist and contributor to Keras and TensorFlow libraries

Voorbeeld banktransacties

  • Voorspel op basis van:
    • Aantal kinderen
    • Aantal bestaande rekeningen
Introductie tot Deep Learning in Python

Voorwaartse propagatie

ch1_2.007.png

Introductie tot Deep Learning in Python

Voorwaartse propagatie

ch1_2.008.png

Introductie tot Deep Learning in Python

Voorwaartse propagatie

ch1_2.009.png

Introductie tot Deep Learning in Python

Voorwaartse propagatie

ch1_2.010.png

Introductie tot Deep Learning in Python

Voorwaartse propagatie

ch1_2.011.png

Introductie tot Deep Learning in Python

Voorwaartse propagatie

ch1_2.012.png

Introductie tot Deep Learning in Python

Voorwaartse propagatie

ch1_2.013.png

Introductie tot Deep Learning in Python

Voorwaartse propagatie

ch1_2.014.png

Introductie tot Deep Learning in Python

Voorwaartse propagatie

ch1_2.015.png

Introductie tot Deep Learning in Python

Voorwaartse propagatie

ch1_2.016.png

Introductie tot Deep Learning in Python

Voorwaartse propagatie

ch1_2.017.png

Introductie tot Deep Learning in Python

Voorwaartse propagatie

ch1_2.018.png

Introductie tot Deep Learning in Python

Voorwaartse propagatie

ch1_2.019.png

Introductie tot Deep Learning in Python

Voorwaartse propagatie

ch1_2.020.png

Introductie tot Deep Learning in Python

Voorwaartse propagatie

ch1_2.021.png

Introductie tot Deep Learning in Python

Voorwaartse propagatie

ch1_2.022.png

Introductie tot Deep Learning in Python

Voorwaartse propagatie

ch1_2.023.png

Introductie tot Deep Learning in Python

Voorwaartse propagatie

ch1_2.024.png

Introductie tot Deep Learning in Python

Voorwaartse propagatie

  • Vermenigvuldig-en-som-proces
  • Inwendig product
  • Voorwaartse propagatie per datapunt
  • Uitvoer is de voorspelling voor dat punt
Introductie tot Deep Learning in Python

Code voorwaartse propagatie

import numpy as np
input_data = np.array([2, 3])
weights = {'node_0': np.array([1, 1]),
           'node_1': np.array([-1, 1]),
           'output': np.array([2, -1])}
node_0_value = (input_data * weights['node_0']).sum()
node_1_value = (input_data * weights['node_1']).sum()
Introductie tot Deep Learning in Python

Code voorwaartse propagatie

hidden_layer_values = np.array([node_0_value, node_1_value])

print(hidden_layer_values)
[5, 1]
output = (hidden_layer_values * weights['output']).sum()

print(output)
9
Introductie tot Deep Learning in Python

Laten we oefenen!

Introductie tot Deep Learning in Python

Preparing Video For Download...