Semester : SEMESTER 3
Subject : Data Science & Machine Learning
Year : 2021
Term : DECEMBER
Branch : MCA
Scheme : 2020 Full Time
Course Code : 20 MCA 201
Page:2
५
0520MCA201122101
based on the data of trained samples using KNN algorithm. Choose k = 3
| X [Academic |
Excellence
OR
Consider a training data set consisting of the fauna of the world. Each unit has 3
(6)
features named “Swim”, “Fly” and “೮೪17. Let the possible values of these
features be as follows:
Swim - Fast, Slow. No
Fly - Long. Short, Rarely, No
Craw] - Yes, No
For simplicity, each unit is classified as “Animal”, “Bird™ or “Fish”. Let the
training data set be as in the table below . Use naive Bayes algorithm to classify a
particular species if its features are (Slow. Rarely.No)
Page 2 of 4