• 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)

Wgu C951 Task 2: Machine Learning For Email Spam Filtering

Document preview thumbnail
Preview 3 out of 24 pages

WGU C951 TASK 2: MACHINE LEARNING FOR EMAIL SPAM FILTERING

Content preview

WGU C951 TASK 2: MACHINE
LEARNING FOR EMAIL SPAM
FILTERING



1. Which metric is most crucial to optimize if the project’s primary goal is to avoid moving

legitimate business emails to the spam folder?

A. Recall


B. Accuracy


C. Precision


D. L2 Regularization


Answer: C


Conceptual Explanation: Precision measures the ratio of true positives to the total

predicted positives. Improving precision minimizes False Positives (legitimate emails

marked as spam).


2. Why is the Multinomial Naive Bayes classifier frequently chosen for spam filtering tasks?

A. It effectively handles non-linear relationships between words.


B. It accounts for the order of words in a sentence.


C. It automatically eliminates the need for feature scaling.

,D. It is computationally efficient and performs well with high-dimensional discrete

features.


Answer: D


Conceptual Explanation: Naive Bayes is computationally fast and highly effective for text

classification where feature dimensions (vocabulary) are large but features are discrete.


3. In the context of text preprocessing, what is the main difference between stemming and

lemmatization?

A. Lemmatization considers the context and part of speech, whereas stemming follows

heuristic rules.


B. Stemming uses a dictionary to find the root, while lemmatization chops off characters.


C. Stemming is more computationally expensive than lemmatization.


D. Lemmatization always results in a shorter word than stemming.


Answer: A


Conceptual Explanation: Lemmatization uses morphological analysis to return the

dictionary base form (lemma), while stemming often just trims suffixes.


4. What problem does Laplace Smoothing solve in a Naive Bayes spam filter?

A. The curse of dimensionality.


B. Overfitting to the training set.


C. Gradient vanishing in deep networks.

, D. Zero-frequency problems for words not in the training vocabulary.


Answer: D


Conceptual Explanation: Laplace smoothing adds a small constant to the frequency

counts to ensure that the probability of a word is never zero, preventing the entire product

of probabilities from zeroing out.


5. Which feature engineering technique represents a document by the frequency of words

while penalizing words that appear across many documents?

A. TF-IDF


B. Word2Vec


C. One-Hot Encoding


D. Principal Component Analysis


Answer: A


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

highlights words that are unique to specific documents while downweighting common

words like ‘the’ or ‘and’.


6. What is a major limitation of the Bag-of-Words (BoW) model in sensitive spam detection?

A. It requires a GPU to compute vector distances.


B. It ignores the semantic meaning and the order of words.


C. It cannot handle numerical data.

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
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