nerdexam
Amazon

MLA-C01 · Question #148

An ML engineer wants to use a set of survey responses as training data for an ML classifier. All the survey responses are either "yes" or "no." The ML engineer needs to convert the responses into a…

The correct answer is A. Binary encoding B. Label encoding. Both binary encoding and label encoding convert categorical yes/no responses into numerical values without increasing dimensionality. For example, mapping yes → 1 and no → 0. Unlike one-hot encoding, which would add extra dimensions, these methods keep the dataset compact and…

Data Preparation for Machine Learning

Question

An ML engineer wants to use a set of survey responses as training data for an ML classifier. All the survey responses are either “yes” or “no.” The ML engineer needs to convert the responses into a feature that will produce better model training results. The ML engineer must not increase the dimensionality of the dataset. Which methods will meet these requirements? (Choose two.)

Options

  • ABinary encoding
  • BLabel encoding
  • COne-hot encoding
  • DStatistical imputation
  • ETokenization

How the community answered

(35 responses)
  • A
    71% (25)
  • C
    6% (2)
  • D
    14% (5)
  • E
    9% (3)

Explanation

Both binary encoding and label encoding convert categorical yes/no responses into numerical values without increasing dimensionality. For example, mapping yes → 1 and no → 0. Unlike one-hot encoding, which would add extra dimensions, these methods keep the dataset compact and effective for training.

Topics

#Feature Engineering#Categorical Encoding#Data Preprocessing#Dimensionality

Community Discussion

No community discussion yet for this question.

Full MLA-C01 Practice