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
9 months agoValentin
9 months agoTony
9 months agoTish
9 months agoTamesha
10 months agoArdella
10 months agoDeeanna
10 months agoGracia
10 months agoArlette
11 months agoDudley
11 months agoAnnamaria
11 months agoEveline
11 months agoNu
11 months agoBev
11 months agoTwana
1 year agoKristel
1 year agoPhillip
1 year agoMarkus
1 year agoLatrice
1 year agoDustin
1 year agoJess
1 year agoVal
1 year agoElin
1 year agoEllen
1 year agoElza
1 year agoPeter
1 year agoWynell
1 year agoAretha
1 year agoVal
1 year 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