Correct Answer: C. Ordinal encoding based on the known ranking
Explanation:
Ordinal categories have a meaningful sequence, so codes can reflect that ranking. The numerical gaps should not automatically be interpreted as equal unless justified.
An interaction feature represents the joint effect of two variables rather than treating their effects as purely separate. It can capture situations where one predictor’s influence depends on another.
Correct Answer: C. Creating informative input variables from existing or newly collected data
Explanation:
Feature generation transforms raw information into representations that expose useful patterns to a model. Good features can improve performance even when the algorithm remains unchanged.
Correct Answer: C. An input variable used to describe an observation for prediction or analysis
Explanation:
Features are measurable attributes supplied to an algorithm, such as age, income, or word count. They may be raw measurements or values constructed from raw data.
Correct Answer: A. They represent differing baseline class frequencies before features are observed
Explanation:
Priors allow the posterior calculation to reflect that some classes occur more often than others. They should be chosen or estimated carefully to match the intended deployment setting.
Correct Answer: A. Their evidence may be effectively counted more than once
Explanation:
Strongly correlated features violate conditional independence and can make the model overstate their combined support. Classification may remain useful, but probability estimates can be distorted.
Correct Answer: D. It estimates simple feature contributions efficiently even with many sparse word features
Explanation:
The conditional-independence factorization keeps estimation and prediction computationally manageable. Sparse count or presence features fit naturally with common Naive Bayes variants.