The possibility of overfitting occurs when the criteria used for training the model is not as per the criteria used to judge the efficiency of a model.