{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Lect24 - Announcement Homework available on web site Nave...

Info icon This preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon
Announcement Homework available on web site Naïve Bayes and Decision Trees Relevant Talk tomorrow (Friday) Prof. Jeff Siskind Purdue Embodied Intelligence 3405 SC, 2PM 1
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Perceptron Decision Boundary Compare weighted sum of inputs to a threshold Without loss of generality set x 0 = -1 then w 0 is This defines a decision surface Which is the equation of a hyperplane n i i i x w 1 0 0 n i i i x w 0 0 x w n i i i x w 2
Image of page 2
Perceptron Learning (Widrow-Hoff or delta rule) w x + Percep w + - percep w ( x ) assigns + or 1 if w x > 0 (vector dot product) else it assigns or 0 err = label( x ) percep w ( x ) 0: correct -1: false pos 1: false neg Here, false neg: w x < 0 but it should be > 0 loss = distance from boundary = - err w x Want to adjust w i ’s to reduce this loss Loss fcn gradient is direction of greatest increase in loss with w Want the opposite: step w in direction - w loss 3
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Perceptron Learning (Widrow-Hoff or delta rule) w x + Percep w + - Loss function = - err w x Want the opposite: step w in direction - w loss What is w loss? View - err w x as a function of w w (- err w x ) = - err x So - w (- err w x ) = err x Update w according to: w = err x where is a learning rate 4
Image of page 4
Perceptron Learning (Widrow-Hoff or delta rule) w x + Percep w + - Choose a learning rate Compute w = err x Add w to w w 5
Image of page 5

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
w x + Percep w + - Choose a learning rate ; initialize w arbitrarily (small works best) Compute w = err x Add w to w Repeatedly cycle through training examples Learn (always and only) on errors w New perceptron rotates to reduce error If x were a false positive… Perceptron Learning (Widrow-Hoff or delta rule) 6
Image of page 6
If the points are linearly separable, the algorithm a) will halt b) will find a separator (The celebrated Perceptron Convergence Theorem) Choosing wisely will speed convergence If the points are not linearly separable, the algorithm may not halt.
Image of page 7

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 8
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern