• 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 25 pages
Exam (elaborations)

Wgu C951 Task 1: Advanced Machine Learning For Email Spam Filtering

Document preview thumbnail
Preview 3 out of 25 pages

WGU C951 TASK 1: ADVANCED MACHINE LEARNING FOR EMAIL SPAM FILTERING

Content preview

WGU C951 TASK 1: ADVANCED
MACHINE LEARNING FOR EMAIL
SPAM FILTERING



1. When preparing the dataset for a spam filter, which technique is most effective for

addressing the extreme class imbalance often found in real-world email traffic?

A. Applying Synthetic Minority Over-sampling Technique (SMOTE) on the feature space


B. Simple random oversampling of the minority class


C. Increasing the learning rate of the optimization algorithm


D. Using a standard 50/50 split for training and testing


Answer: A


Conceptual Explanation: SMOTE generates synthetic examples rather than just

duplicating records, which helps the model generalize better for the minority (spam) class

in an imbalanced dataset.


2. In the context of Naive Bayes for spam detection, what is the primary purpose of applying

Laplace smoothing?

A. To account for words in the test set that never appeared in the training set


B. To reduce the computational complexity of the probability calculations

,C. To normalize the length of different email messages


D. To handle the high correlation between different features


Answer: A


Conceptual Explanation: Laplace smoothing (or add-one smoothing) prevents the

posterior probability from becoming zero when a word in the test set was not present in

the training data.


3. Which evaluation metric is most critical for an email service provider to minimize if they

want to avoid losing legitimate business communications?

A. False Negative Rate


B. Recall


C. Accuracy


D. False Positive Rate


Answer: D


Conceptual Explanation: A False Positive occurs when a legitimate email (ham) is

incorrectly classified as spam. Minimizing this rate is vital for user trust.


4. When utilizing TF-IDF for feature extraction, what does the ‘IDF’ component specifically

help to penalize?

A. Words that appear frequently in a single document but rarely across the corpus


B. Misspelled words commonly found in spam subject lines

, C. Short emails that do not contain enough semantic information


D. Words that appear frequently across all documents in the corpus


Answer: D


Conceptual Explanation: Inverse Document Frequency (IDF) reduces the weight of terms

that occur very frequently across the entire corpus, such as ‘the’ or ‘and’, which are less

discriminative.


5. Why might a Support Vector Machine (SVM) with a Radial Basis Function (RBF) kernel

outperform a Linear SVM in spam detection?

A. The decision boundary between spam and ham is often non-linear


B. The RBF kernel requires less memory for large datasets


C. Linear SVMs cannot handle sparse matrices generated by Bag-of-Words


D. RBF kernels are inherently faster to train on text data


Answer: A


Conceptual Explanation: Spam features often have complex, non-linear interactions that

an RBF kernel can capture by mapping features into a higher-dimensional space.


6. In a spam filtering project proposal, which concept describes the risk of the model

performance degrading over time as spammers change their tactics?

A. Overfitting


B. Data Leakage

Document information

Uploaded on
August 19, 2026
Number of pages
25
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
5 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