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
5 months agoValentin
5 months agoTony
5 months agoTish
6 months agoTamesha
6 months agoArdella
6 months agoDeeanna
6 months agoGracia
7 months agoArlette
7 months agoDudley
7 months agoAnnamaria
7 months agoEveline
7 months agoNu
8 months agoBev
8 months agoTwana
10 months agoKristel
8 months agoPhillip
9 months agoMarkus
9 months agoLatrice
10 months agoDustin
11 months agoJess
10 months agoVal
10 months agoElin
10 months agoEllen
11 months agoElza
11 months agoPeter
10 months agoWynell
10 months agoAretha
10 months agoVal
10 months agoMarisha
11 months agoJeniffer
11 months agoStefanie
11 months agoOna
11 months agoCorinne
11 months agoTerrilyn
11 months agoArdella
11 months agoKate
11 months ago