Question

2. (20 pts.) Consider the Binary Independence Model for text document. Given a vocabulary V (w., wa) of all English words (and tokens), assume that a text document is rep- resented as a vector of binary features x-(x1, ,xd)t such that xỉ 1s I if the word wi appears in the document, and r, is 0 otherwise. We want to classify text documents into c categories. Let P(wj) be the prior probability for the class w for j-1,..., c. Assume that the components of ? are statistically independent given the category (Naive Bayes model), i.e. i= i Assume we could estimate the following probability from the training data Show that the minimum probability of error is achieved by the following decision rule: De- cide ah if gk(x) gi(t) for all jメk, where the discriminant function is given in the form of Give the expressions of ciy and b

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

solution Given data- Assume we coceld estimate the following probability from the training data poi a p (xix Alwi) iz !, ...,1 P x 10-4 L 104 → PCXL 104)- p (XS-2X164) >> P [zki]-P [75-2] q value Find z Values lesing salistical calculation - p (== 1

Add a comment
Know the answer?
Add Answer to:
2. (20 pts.) Consider the Binary Independence Model for text document. Given a vocabulary V (w.,...
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
  • 1. Consider ranking of documents using the Binary Independence Model (BIM) as shown below: RSVa-2...

    1. Consider ranking of documents using the Binary Independence Model (BIM) as shown below: RSVa-2 log where O p is the probability of a term t appearing in a document relevant to the query O (1-p is the probability of a term t not appearing in a document relevant to the query O (1-u) is the probability of a term t not appearing in a document non-relevant to the Shown in Table 1 below are documents, and occurrence of terms...

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