Question: use the data below to calculate the log-likelihood ratio for the message act now for a chance to win. Give your answer to 2 decimal
use the data below to calculate the log-likelihood ratio for the message "act now for a chance to win". Give your answer to 2 decimal places.
Number of Spam documents: 100
Number of Ham documents: 1000
Token | Number of Spam documents token appears in | Number of Ham documents token appears in |
| act | 9 | 88 |
| now | 21 | 213 |
| for | 24 | 238 |
| a | 37 | 401 |
| chance | 12 | 48 |
| to | 40 | 397 |
| win | 13 | 24 |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
