FIS interview question

How to avoid overfitting when training a model?