Professional Documents
Culture Documents
training data
2. No Married 100k No
3. No Single 70k No
6. No Married 60k No
9. No Married 75k No
Then,
3 1
= X X p(Income +120k/Yes)
3 3
In the above value of Taxable income, it is in continuous data. So, we to find
2
1 ( xi−µij)
P(Income = 120k / Yes) = 2 i
√2 π (σ ij) 2 µ ¿ ¿ ¿
By the formula,
1
2
σ =
n−1
∑ ¿ ¿)2
1
= [(95-90)2+(85 -902) +(90 -90)2 ]
(3−1)
= ½ [25-25]
½ X50 = 25
1
= i−¿ 900/50 ¿
√2 π (5)
= 1.2 X 10-9
=4 X 10-10
= 0.8731
=0.0006
Since P(X/No)P(No)>P(X/Yes)>P(X/Yes)P(Yes)
Therefore
=> Class = No
From the give3n traini9ng data, we can also find the following probability in a simple way.