Should I use L1 or L2 regularization to fix overfitting in a high-dimensional dataset?
I am working with a dataset that has over 500 features but only about 2,000 rows. My model is performing perfectly on the training set but is failing miserably on the test data. I know I need regularization, but I am confused about whether Lasso or Ridge is better for this specific scenario. Does one handle high-dimensionality better than the other when feature selection is a priority?
Write a Comment
Your email address will not be published. Required fields are marked (*)