P (Very High) = 2/11
P (High) = 4/11
P (Low) = 3/11
P (Medium) = 2/11
Own House has only two values Yes and Rented.
Total Number of Very High Income = 2
Total Number of High Income = 4
Total Number of Low Income = 3
Total Number of Medium Income = 2
Use above values to classify new tuple as very High.
Consider new Tuple as t = {Yes, Very High, Old}
P (t l Very High) = 1*0=0
P (t l High) = 1* ¼ = 1/4
P (t l Medium) = ½ *0=0
P (t l Low) = 0 * 1/3=0
Therefore likelihood of being Very High = P (t l Very High) * P (Very High) = 0* 2/11=0
Similarly,
Likelihood of being High = P (t l High) * P (High) = ¼*4/11=0.09
Likelihood of being Medium = P (t l Medium) * P (Medium) = 0*2/11=1
Likelihood of being Low = P (t l Low) * P (Low) = 0*3/11=0
Then estimate P (t) by adding individual likelihood values since t will be very high, high, medium or low
P (t) = 0+0+0+0.09=0.09
Finally Actually Probability of each event
P (Very High) = (P (t l Very High) * P (Very High)) /P (t) = 0
Similarly,
P (High) = (P (t l High) * P (High)) /P (t) = (1/4 * 4/11) /0.09=1
P (Medium) = (P (t l Medium) * P (Medium)) /P (t) = 0
P (Very High) = (P (t l Low) * P (Low)) /P (t) = 0
New Tuple is a High as it has the highest Probability.