Current Slide

Small screen detected. You are viewing the mobile version of SlideWiki. If you wish to edit slides you will need to use a larger device.

Perceptron Learning Example

  • Data: (0,0)→0, (1,0)→0, (0,1)→1, (1,1)→1
  • Initialization: W1(0) = 0.9286, W2(0) = 0.62, W0(0) = 0.2236, α = 0.1
  • Training – epoch 1:
    out1 = sign(0.92*0 + 0.62*0 – 0.22) = sign(-0.22) = 0
    out2 = sign(0.92*1 + 0.62*0 – 0.22) = sign(0.7) = 1     X
        W1(1) = 0.92 + 0.1 * (0 – 1) * 1 = 0.82
        W2(1) = 0.62 + 0.1 * (0 – 1) * 0 = 0.62
        W0(1) = 0.22 + 0.1 * (0 – 1) * (-1)= 0.32
    out3 = sign(0.82*0 + 0.62*1 – 0.32) = sign(0.5) = 1
    out4 = sign(0.82*1 + 0.62*1 – 0.32) = 1

Speaker notes:

Content Tools

Sources

There are currently no sources for this slide.