Experiment - Target encoding
Problem:You have a dataset with categorical features and want to use target encoding to convert these categories into numbers based on the target variable. The current approach uses one-hot encoding, but the model is not performing well because of high dimensionality and sparse data.
Current Metrics:Training accuracy: 88%, Validation accuracy: 75%, Validation loss: 0.65
Issue:The model suffers from overfitting and poor generalization due to high dimensionality from one-hot encoding of categorical variables.
