Pergunta de entrevista da empresa Nokia

How to avoid overfitting in machine learning?