QuestionQ112

VerifiedData Processing

An organization is building a feature repository and plans to one-hot encode every categorical feature variable. A data scientist recommends that categorical feature variables not be one-hot encoded in the feature repository.

Which explanation supports this recommendation?

Explanation

One-hot encoding is a common and widely supported representation, but it is not appropriate for every machine-learning algorithm. It can create a large sparse feature space for high-cardinality categories, and some algorithms can use categorical features more effectively without this universal transformation. Because a feature repository is intended to make features reusable across ML applications, it should not impose a representation that can be problematic for some downstream algorithms.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!