Programming 2 kNN

Back to Programming page

  • Goal : Practice the k-nearest neighbors (k-NN) Matlab codes, and compare the code and results with EX3.
  • Instructions :
    • Read Section 1.10 of the AMA book (S. Theodoridis, A. Pikrakis, K. Koutroumbas, D. Cavouras, Introduction to Pattern Recognition: A Matlab Approach, Academic Press, 2010 [PDF download from FJU Library] )
    • Practice Example 1.10.1.
    • Complete Exercise 1.10.1, 1.10.2.
    • Write a report with a web page.
  • Readings : AMA Sec. 1.10
  • Report : Create a web page with text descriptions (Chinese or English) and images/pictures to
      • Explain k-nearest neighbor classifier
      • Describe the purpose of examples and exercises
      • Explain the program codes of examples and exercises
      • Explain the results of examples and exercises
      • Compare EX3 with the program codes in this P2 programming assignment. You can use the fisheriris data of EX3 in P2 and compare the results.
  • Submit your web address by Google Classroom.