Should we normalize the categorical columns in our dataset? Or just the numerical columns?
I mean after encoding the categorical variables using Target encoding, can we use mean normalization? And would it be useful?
I think it depends. A priori I'm inclined to think this doesn't make any sense, but let's think about it. You are encoding each value with a number which is somewhat related to the target. In what range do these numbers live? Now, I think the main way to answer the question is by inspecting the following question:
What is the purpose of normalization?
There are algorithms which can understand greater values have greater meaning, and by simply having features with different ranges prevents the algorithm to perform well. Here it seems like it would make sense to normalize.
gradients may end up taking a long time and can oscillate back and forth and take a long time before it can finally find its way to the global/local minimum. To overcome the model learning problem, we normalize the data.
After thinking a bit about this, although it didn't make much sense to me at the beginning, I now think normalization would apply in this case too.
As of the comment on @georg_un's answer:
If we one-hot or target encode the categorical variables, will standardization or normalization help the model? Or I can simply not apply any sort of scaling and algorithm works fine anyway?
If you one hot encode the variables, the values will be either 0 or 1. Here it really doesn't make sense to normalize. What you want is a binary variable to indicate something as either yes or no. You don't want grays there.
Hope this helps!