QuestionQ29

VerifiedPrepare data and use feature engineering in Snowflake

A Data Scientist is developing a marketing-campaign model from lead data. The raw data includes a states column containing 50 distinct state names.

Which preprocessing class should be used to create new features?

Explanation

State names are nominal categorical values. OneHotEncoder converts categorical values into binary indicator features, typically one feature per category; Snowflake documents it as encoding categorical features into a one-hot numeric array.

Learn more

Community Discussion

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