Exercise 2 An engineer analyses the presence (Yes-present, No- not present) of a specific terms in received messages (100 messages), to filter spams. These terms are: Donation, Ransom, Shows, Unsubscribe The analysis is based on the data shown below: Donation Ransom Shows Unsubscribe Yes No Yes No Yes No Yes No Total Spam 10/20 8/20 57/80 65/100 4/20 16/20 20 0/20 8/80 8/100 10/20 20/20 12/20 71/80 91/100 23/80 1/80 5/100 14/80 24/100 Ham 79/80 95/100 66/80 80 Total 76/100 35/100 100 Suppose that you receive a new message that contains the terms Donation and Unsubscribe, but does not contain either Ransom or Shows. In your opinion, this new message will be classified as spam or ham? (assume class conditional independence: P(An B/C) = P(A/C)P(B/C) and use conditional probability)
Exercise 2 An engineer analyses the presence (Yes-present, No- not present) of a specific terms in received messages (100 messages), to filter spams. These terms are: Donation, Ransom, Shows, Unsubscribe The analysis is based on the data shown below: Donation Ransom Shows Unsubscribe Yes No Yes No Yes No Yes No Total Spam 10/20 8/20 57/80 65/100 4/20 16/20 20 0/20 8/80 8/100 10/20 20/20 12/20 71/80 91/100 23/80 1/80 5/100 14/80 24/100 Ham 79/80 95/100 66/80 80 Total 76/100 35/100 100 Suppose that you receive a new message that contains the terms Donation and Unsubscribe, but does not contain either Ransom or Shows. In your opinion, this new message will be classified as spam or ham? (assume class conditional independence: P(An B/C) = P(A/C)P(B/C) and use conditional probability)
MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
Related questions
Question

Transcribed Image Text:Exercise 2
An engineer analyses the presence (Yes-present, No- not present) of a specific terms in received messages (100
messages), to filter spams. These terms are:
Donation, Ransom, Shows, Unsubscribe
The analysis is based on the data shown below:
Donation
Ransom
Shows
Unsubscribe
No
Yes
No
Total
No
10/20
Yes
No
Yes
Yes
8/20
57/80
65/Л00
20/20
12/20
20
0/20
8/80
8/100
4/20
16/20
10/20
Spam
Ham
80
71/80
91/100
23/80
35/100
79/80
14/80
66/80
1/80
5/100
100
Total
95/100
24/100
76/100
Suppose that you receive a new message that contains the terms Donation and Unsubscribe, but does not
contain either Ransom or Shows.
your opinion, this new message will be classified as spam or ham? (assume class conditional independence:
P(An B/C) = P(A/C)P(B/C) and use conditional probability)
In
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 2 images

Recommended textbooks for you

MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc

Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning

Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning

MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc

Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning

Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning

Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON

The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman

Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman