Notes 20110120 CIS 6050 Neural Networks

From SnOwy - Ed's Wiki Notebook

Jump to: navigation, search

Contents

Administrivia

Architectures

Competitive learning

Boltzmann Learning

Back Propagation

Encoding Patterns into Weights

  1. initialization
    • assign random values in [-1, +1] to all weights between FA and FB; FB and FC -- Vhi and Wij
    • each node in FB and FC also have threshold values Θi and Γj (also randomized)
    • notation: Weight layers have been given V and W; thresholds have been given Θ and Γ
  2. input pattern given to FA
    • call it Ak
    • calculate the FB, FC
    • bi = f( Σh=1naivhii )
      • bi -- FB activation for each node
      • ai -- activation values for each input node
      • vhi -- weights between FA and FB
      • Θi -- threshold for FB
      • f() sigmoid function ...
    • sigmoid function -- bounds the values
      • f(x) → (1 + e-x)-1
      • logistic sigmoid function
  3. calculate output activation
    • pass FB through wij to FC
    • cj = f (Σi=1mbiwijj)
      • ... infer
  4. learning starts
    • calculate the error at the FC layer
    • the difference between the seen cj and desired outputs cjk
    • dj = cj(1-cj)(cjk-cj)
  5. calculate the errors in the hidden layer
    • ei = bi(1-bij=1qwijdj
  6. adjusting the weights between FB and FC
    • wij between FB and FC
    • ΔWij = αbidj
      • where bi connects to wij connects to dj
      • α is the learning rate (learning constant) -- is a small number
  7. adjusting the weights between FA and FB
    • ΔVij = βahei
      • β is a learning constant (often equal to α)
  8. adjust the thresholds
    • Θ = βei
    • Γ = αdj
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox