0
Illustrate any one classification technique for the data set .Show how we can Classify a new tuple with(Homeowner = yes ; Status =Employed; Income=Average)
Id Homeowner Status Income Defaulted
1 Yes Employed High No
3 No Employed Low No
5 No Unemployed Average Yes
7 Yes Unemployed High No
8 No Employed Average Yes
10 No Employed Average Yes

## ## Illustrate any one classification technique for the above data set .Show how we can Classify a new tuple with(Homeowner = yes ; Status =Employed; Income=Average)

Mumbai University > Information Technology > Sem6 > Data Mining and Business Intelligence

Marks: 10M

Year: May 2015

0
Homeowner
P(Yes\No )=3/6 P(No\Yes )=3/3 P(Yes\Yes )=0
P(No\No)=4/6
Status
P(Employed \Yes)=2/3 P( Business\Yes)=0 P(Unemployed\Yes) =1/3
Income
P(High\Yes)=0 P(Low\Yes)=0 P(Average\Yes)=3/3
P(High\No)=3/6 P(Low\No)=3/6 P(Average\No)=1/6
0

P(Yes)=3/10

P(No)=7/10

P(X\Yes) x P(Yes)=$\text{P( yes\yes) x P(Employed\yes)x P(Average\yes) x P(Yes)}\\ =0 * 2/3 * 3/3 * 3/10\\ =0$

P(X\No) x P(No)= $\text{P( yes\no) x P(Employed\no)x P(Average\no) x P(no)} \\ =\text{3/6 * 2/6 * 1/6 * 7/10} \\ =0.0194 \\ =0 \lt0.0194$

Therefore the naive Bayesian classifier predicts Defaulted= “No” for sample X

In P(X\No) x P(No) = P( yes\no) x P(Employed\no)x P(Average\no) x P(no) = * 3/7 * 2/7 * 1/7* * 7/10 = 0.0122

Isn't it supposed to be divided by 7?