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

  • Training – epoch 2:

      
     
    out1 = sign(0.82*0 + 0.62*0 – 0.32) = sign(0.32) = 0
     
    out2 = sign(0.82*1 + 0.62*0 – 0.32) = sign(0.5) = 1
        W1(2) = 0.82 + 0.1 * (0 – 1) * 1 = 0.72
        W2(2) = 0.62 + 0.1 * (0 – 1) * 0 = 0.62
        W0(2) = 0.32 + 0.1 * (0 – 1) * (-1)= 0.42
         X
     
    out3 = sign(0.72*0 + 0.62*1 – 0.42) = sign(0.3) = 1
     
    out4 = sign(0.72*1 + 0.62*1 – 0.42) = 1
  • Training – epoch 3:

      
     
    out1 = sign(0.72*0 + 0.62*0 – 0.42) = 0
     
    out2 = sign(0.72*1 + 0.62*0 – 0.42) = 1
        W1(3) = 0.72 + 0.1 * (0 – 1) * 1 = 0.62
        W2(3) = 0.62 + 0.1 * (0 – 1) * 0 = 0.62
        W0(3) = 0.42 + 0.1 * (0 – 1) * (-1)= 0.52
         X


Speaker notes:

Content Tools

Sources

There are currently no sources for this slide.