Primary competition visual

iX Mobile Banking Prediction Challenge

Helping Africa
$3 495 USD
Challenge completed over 4 years ago
Prediction
340 joined
103 active
Starti
May 17, 21
Closei
Jun 13, 21
Reveali
Jun 13, 21
Should we use country_code and region as categorical features or numerical ones?
Data · 9 Jun 2021, 03:54 · 2

In reality, country_code and region are categorical features. But in our dataset, they are encoded as numerical ones. So, in which encoding format should we input these features for helping the model to better generalize?

Discussion 2 answers
User avatar
Josplay enterprise

They are categorical no matter the format they come in because each country has a unique number.

9 Jun 2021, 04:23
Upvotes 0

We all understand that they are categorical features. But passing them to the model as numerical features, the model will try to compute weight like someone belonging to a country with a higher country_code/region will have more/less chances to use mobile/internet banking. Anyway, thanks for sharing ...