A data scientist is analyzing a data set with categorical features and would like to make those features more useful when building a model. Which of the following data transformation techniques should the data scientist use? (Choose two.)
One-hot encoding creates binary indicator columns for each category, allowing models to treat nominal categories without implying any order.
Label encoding maps categories to integer labels, which can be useful for tree-based models or when you need a single numeric column (though you must ensure the algorithm can handle treated ordinality appropriately).
Rolande
7 months agoValentin
7 months agoTony
7 months agoTish
7 months agoTamesha
7 months agoArdella
8 months agoDeeanna
8 months agoGracia
8 months agoArlette
8 months agoDudley
9 months agoAnnamaria
9 months agoEveline
9 months agoNu
9 months agoBev
9 months agoTwana
12 months agoKristel
10 months agoPhillip
11 months agoMarkus
11 months agoLatrice
11 months agoDustin
1 year agoJess
12 months agoVal
12 months agoElin
12 months agoEllen
1 year agoElza
1 year agoPeter
11 months agoWynell
11 months agoAretha
11 months agoVal
12 months agoMarisha
1 year agoJeniffer
1 year agoStefanie
1 year agoOna
1 year agoCorinne
1 year agoTerrilyn
1 year agoArdella
1 year agoKate
1 year ago