Pregunta de entrevista de Tata Consultancy Services

How would you handle overfitting in a machine learning model? What are decorators in Python?