Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
In what scenario would you employ a StringIndexer within a machine-learning pipeline?
A
To manage missing values in your dataset.
B
For transforming numerical data into categorical variables.
C
When you need to recognize a column as a categorical variable or transform textual data into numerical data without losing the categorical meaning.
D
StringIndexer is solely for text processing and has no place in machine learning contexts.