Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

PSet 22: Perceptron

(videos: All Perceptron vids)

  1. Assume a perceptron with no bias that has a weight vector of ⟨3,-4⟩. Draw a coordinate frame with two dimensions, draw the weight vector on it, and then draw the associated dividing plane.


  1. Draw an input vector x:⟨5,2⟩, on the graph.


  1. Show using the perceptron definition what the classification is (i.e. work out the numbers in the equation). Assume that f(x)=x. Give the resulting number from the perceptron equation, and then give the resulting sign(), as in the lecture.


  1. Assuming the correct label is 0, so y=0y^*=0, update the weight vector ww to a new ww' and draw both it and the new hyperplane on your plot in a new color. Or draw dotted lines.


  1. Compute the number from the perceptron equation now, and what is the classification of x now?

When finished, work on your Frogger project.