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