Question

We have a domain where there is only one feature, X, which is binary. The domain...

We have a domain where there is only one feature, X, which is binary. The domain has also a category label Y, which is binary as well.

Given a Naive Bayes model with following parameters:

P(X=T|Y=T) = 0.2

P(X=F|Y=F) = 0.6

P(Y = T) = 0.7

Given an instance X = T, what is the probability that its label is True calculated by the model?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

here P(X=T)=P(Y=T)*P(X=T|Y=T)+P(Y=F)*P(X=T|Y=F)=0.7*0.2+(1-0.7)*(1-0.6)=0.14+0.12=0.26

hence P(Y=T|X=T)=P(Y=T)*P(X=T|Y=T)/P(X=T)=0.7*0.2/0.26=0.538462

Add a comment
Know the answer?
Add Answer to:
We have a domain where there is only one feature, X, which is binary. The domain...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT