The game-changer in regression: unveiling rank-based encoding for surefire success
Data Science Dojo
FEBRUARY 2, 2024
One-hot encoding In One-hot encoding, each category value is represented as an n-dimensional, sparse vector with zero entries except for one of the dimensions. Since there are 3 cities, two bits would be enough to uniquely represent each category. In my evaluation, I assessed model metrics such as R 2 and RMSE.
Let's personalize your content