• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 3 out of 24 pages
Exam (elaborations)

Machine Learning For Email Spam Filtering (Wgu C951 Task 3)

Document preview thumbnail
Preview 3 out of 24 pages

MACHINE LEARNING FOR EMAIL SPAM FILTERING (WGU C951 TASK 3)

Content preview

MACHINE LEARNING FOR EMAIL
SPAM FILTERING (WGU C951 TASK 3)



1. In the context of email spam filtering, what does the ‘independence’ assumption in a Naive

Bayes classifier imply?

A. Spam and ham emails are mutually exclusive events in the probability space.


B. The classification of one email is independent of the classification of previous emails.


C. The sender’s identity is independent of the content of the email.


D. The presence of one word in an email does not affect the probability of another word

appearing.


Answer: D


Conceptual Explanation: Naive Bayes assumes that features (words) are conditionally

independent given the class label, meaning the occurrence of one word doesn’t influence

the presence of others.


2. Which metric is most critical when the primary goal is to ensure legitimate emails (ham)

are not accidentally moved to the spam folder?

A. Precision


B. Accuracy

,C. Recall


D. Mean Absolute Error


Answer: A


Conceptual Explanation: Precision measures the proportion of predicted positives that

are actually positive. High precision reduces False Positives (ham marked as spam).


3. What is the primary purpose of applying TF-IDF vectorization in a spam detection pipeline?

A. To increase the weight of words that appear frequently across all documents.


B. To convert images found in emails into numerical feature vectors.


C. To down-weight common words that appear frequently across the entire corpus while

highlighting unique identifying words.


D. To automatically correct spelling errors in the email body.


Answer: C


Conceptual Explanation: TF-IDF (Term Frequency-Inverse Document Frequency) reduces

the importance of common words (like ‘the’, ‘and’) and increases the weight of terms

specific to certain categories.


4. During data preprocessing, what is the process of reducing a word to its base or dictionary

form called?

A. Tokenization


B. Lemmatization

, C. Stemming


D. Regularization


Answer: B


Conceptual Explanation: Lemmatization uses linguistic analysis to return words to their

dictionary base (lemma), whereas stemming often just chops off suffixes.


5. Which of the following is considered a ‘False Positive’ in a spam filter?

A. A legitimate email incorrectly identified as spam.


B. A spam email correctly identified as spam.


C. A spam email incorrectly identified as ham.


D. A legitimate email correctly identified as ham.


Answer: A


Conceptual Explanation: A False Positive occurs when the model predicts a positive result

(spam) for a sample that is actually negative (ham).


6. Why is the F1-Score often preferred over Accuracy in evaluating spam filters?

A. Because F1-Score is easier to calculate manually.


B. Because accuracy does not account for the high imbalance between spam and ham in

real-world datasets.


C. Because accuracy is sensitive to the number of features used.

Document information

Uploaded on
August 19, 2026
Number of pages
24
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$15.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Thebright
3.6
(45)
Sold
254
Followers
6
Items
15814
Last sold
4 days ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions