asked 219k views
1 vote
Suppose that a Bayesian spam filter is trained on a set of 500 spam messages and 200 messages that are not spam. The word "exciting" appears in 40 spam messages and in 25 messages that are not spam.What is the probability that an incoming message containing the word "exciting" is spam

2 Answers

2 votes

Answer:

Step-by-steThe probability that an incoming message contains the word "exciting"is spam can be found from the following two numbers (facts):

1. The number of spam messages.

2. The number of messages containing the word "exciting" that are spam.

probability = (number of desired event)/ total number of events

= 40 / 500 = 0.08p explanation:

answered
User Jshah
by
8.0k points
2 votes
The probability that an incoming message contains the word "exciting"is spam can be found from the following two numbers (facts):
1. The number of spam messages.
2. The number of messages containing the word "exciting" that are spam.

probability = (number of desired event)/ total number of events

= 40 / 500 = 0.08

answered
User Ildar Musin
by
8.5k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.