leesangwon0114

I am Research Engineer. Currently working in KT.

VisualAI 05. Backpropagation

20 Oct 2018 » VisualAI

Backpropagation

Gradient Descent MLP를 위한 특별한 케이스

  1. Q 개의 학습데이터가 있음
  2. Forward Pass
  3. Error Computation
  4. Compute Weight Changes
  5. Update all weights of the network

1~5를 global error minimize를 찾기 위해 반복함


SGD로 설정되어 있으며 Q 학습데이터가 있을 때 Q번 모두 iteration 돌고나면 1 epoch를 다한 것임

Alt text


Numerical Example

cf) https://hmkcode.github.io/ai/backpropagation-step-by-step/

Forward Pass

Alt text

Error Computation

Alt text

Weights Update

Alt text

Gradient Error Computation

Alt text

Alt text

Alt text

Alt text

Weights Update

Alt text