Question: 1. (15 marks) Use MatLAB to implement a KNN classifier. For K=3, use the classifier to determine (Outlook Rain, Temperature Hot, HumidityHigh, WindWeak, PlayTennis =?)memmgleqlgtennls.

 1. (15 marks) Use MatLAB to implement a KNN classifier. ForK=3, use the classifier to determine (Outlook Rain, Temperature Hot, HumidityHigh, WindWeak,PlayTennis =?)memmgleqlgtennls. Day Outlook Temperature Humidity Wind PIayTennis D1 Sunny Hot High

1. (15 marks) Use MatLAB to implement a KNN classifier. For K=3, use the classifier to determine (Outlook Rain, Temperature Hot, HumidityHigh, WindWeak, PlayTennis =?)memmgleqlgtennls. Day Outlook Temperature Humidity Wind PIayTennis D1 Sunny Hot High Weak No D2 Sunny Hot High Strong No D3 Overcast Hot High Weak Yes D4 Rainy Mild High Weak Yes D5 Rainy Cool Normal Weak Yes DB Rainy Cool Normal Strong No D? Overcast Cool Normal Strong Yes DB Sunny Mild High Weak No DB Sunny Cool Normal Weak Yes D10 Rainy Mild Normal Weak Yes D11 Sunny Mild Normal Strong Yes D12 Overcast Mild High Strong Yes D13 Overcast Hot Normal Weak Yes D14 Rainy Mild High Strong No Day Outlook Temperature Humidity Wind PIayTennis D3 Overcast Hot High Weak Yes D4 Rainy Mild High Weak Yes D5 Rainy Cool Normal Weak Yes D? Overcast Cool Normal Strong Yes DB Sunny Cool Normal Weak Yes D10 Rainy Mild Normal Weak Yes D11 Sunny Mild Normal Strong Yes D12 Overcast Mild High Strong Yes D13 Overcast Hot Normal Weak Yes D14 Rainy Mild High Strong No Day Outlook Temperature Humidity Wind Play Tennis D1 Sunny Hot High Weak No D2 Sunny Hot High Strong No D6 Rainy Cool Normal Strong No D8 Sunny Mild High Weak No D14 Rainy Mild High Strong No

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!