1
9.4kviews
Apply Bayesian classification to predict class of new tuple (Nicole, Female, 1.67m) Use the following data.
PERSON ID NAME GENDER HEIGHT CLASS
1 Kristina Female 1.6m Short
2 Jim Male 2m Tall
3 Maggie Female 1.9m Medium
4 Maratha Female 2.1m Tall
5 John Female 1.7m Short
6 Bob Male 1.85m Medium
7 Clinton Female 1.6m Short
8 Nyssa Male 1.7m Short
9 Kathy Male 2.2m Tall

1 Answer
2
1000views

P (short) = 4/9

P (medium) = 2/9

P (tall) = 3/9

Dividing the height attribute in to six ranges.

[0, 1.6], [1.6, 1.7], [1.7, 1.8], [1.8, 1.9], [1.9,2.0], [2.0, Infinity]

Gender has only two values Male and Female.

Total Number of short person = 4

Total Number of medium …

Create a free account to keep reading this post.

and 4 others joined a min ago.

Please log in to add an answer.