AltaML interview question

How do you prevent model overfitting ?