Hw#4: Classification with Perceptron

Given two dimensional training data (figure) and validation data (figure) with class labels at the last column, you are asked to do the following:

  • write a MATLAB program which does the following
    • learn a perceptron with gradient descent on the training set
    • calculate classification errors on the training and validation sets
    • draw discriminant and sigmoid outputs on a meshgrid superimposed with training data (sample figure)

You should submit:

  • all the the program code that does the calculation and plotting
  • the graphs
  • a report that gives your results

Submit hard copies (to homework box in ETA 11 PCLAB); do not submit any part of your homework by email/floppy/CD. This homework is due Friday, May 11, 14:00.

General policy: If you return your homework by next Monday, you get 50% of your grade. Any later submission will not receive any grade but ALL homeworks should be completed to pass the course.