I would like to train a binary classifier on feature vectors. One of the features is categorical feature with string, it is the zip codes of a country.
Typically, there is thousands of zip codes, and in my case they are strings. How can convert this feature into numerical?
I do not think that using one-hot-encoding is good as a solution for my case. Am I right by saying that? If yes, what would be a suitable solution?