Question 10
Domain 2: Explore data and run experimentsTrue or False: Ordinal encoding is often the recommended approach, and it involves transforming each categorical value into n binary values, with one of them 1 and all others 0.
Correct answer: B
Explanation
Ordinal encoding assigns categories to ordered numeric labels, while one-hot encoding "transform[s] each categorical value into n binary values, with one of them 1 and all others 0." Because the prompt describes the binary-vector method, it is not ordinal encoding.
Why each option is right or wrong
A. Yes. Ordinal encoding is the standard method for turning categories into one-hot binary vectors.
B. No. That description refers to one-hot encoding, not ordinal encoding.
The statement is false because the method described is the dummy-variable/binary-vector scheme used for one-hot encoding, where a category is represented by n binary indicators with exactly one active value. Ordinal encoding instead maps categories to a single integer label reflecting order, so there is no transformation into n separate 0/1 columns.