• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 3 fuera de 25 páginas
Examen

Machine Learning For Email Spam Filtering (C951 Task 3)

Document preview thumbnail
Vista previa 3 fuera de 25 páginas

MACHINE LEARNING FOR EMAIL SPAM FILTERING (C951 TASK 3)

Vista previa del contenido

MACHINE LEARNING FOR EMAIL
SPAM FILTERING (C951 TASK 3)



1. When designing a Naive Bayes classifier for spam detection, why is Laplace smoothing

(additive smoothing) essential?

A. To prevent the model from overfitting on rare words.


B. To reduce the computational complexity of the logarithm operations.


C. To handle the zero-frequency problem where an unseen word results in a zero posterior

probability.


D. To automatically filter out stopwords during the training process.


Answer: C


Conceptual Explanation: Laplace smoothing adds a small value to every count, ensuring

that probabilities are never zero, which would otherwise nullify the entire product in Naive

Bayes if a single feature is missing.


2. Which metric is generally considered most critical when minimizing the risk of ‘False

Positives’ in a production spam filter?

A. Recall


B. Precision

,C. F1-Score


D. Accuracy


Answer: B


Conceptual Explanation: Precision measures the ratio of correctly predicted positive

observations to the total predicted positives. In spam filtering, a high precision means

fewer legitimate emails (False Positives) are incorrectly flagged as spam.


3. How does TF-IDF (Term Frequency-Inverse Document Frequency) improve upon simple

Count Vectorization in spam filtering?

A. By increasing the weight of common words like ‘the’ and ‘and’.


B. By reducing the dimensionality of the feature space through principal component

analysis.


C. By penalizing words that appear frequently across all emails, highlighting unique spam-

indicative keywords.


D. By treating word order and context as primary features.


Answer: C


Conceptual Explanation: TF-IDF reduces the weight of terms that appear very frequently

across the entire corpus (IDF) while boosting terms that are frequent within specific

documents (TF).

, 4. In the context of the C951 proposal, what is ‘Concept Drift’ in email spam filtering?

A. The deterioration of model performance over time as spammer tactics evolve.


B. The process of moving the model from a development environment to a cloud

production environment.


C. The mathematical movement of data points across a Support Vector Machine

hyperplane.


D. The variation in computational resources required to process large email attachments.


Answer: A


Conceptual Explanation: Concept Drift occurs when the statistical properties of the target

variable (spam vs. ham) change over time, requiring model retraining.


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

outperform a Linear kernel for spam detection?

A. Linear kernels are incapable of handling high-dimensional text data.


B. RBF kernels are computationally faster for millions of features.


C. Linear kernels require all input data to be pre-normalized to a range of [0,1].


D. RBF can capture non-linear relationships and complex decision boundaries between

spam and ham.


Answer: D

Información del documento

Subido en
19 de agosto de 2026
Número de páginas
25
Escrito en
2026/2027
Tipo
Examen
Contiene
Preguntas y respuestas
$15.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
Thebright
3.6
(45)
Vendido
254
Seguidores
6
Artículos
15814
Última venta
4 días hace




Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes