Why do you need training set, test set and validation set ?

Before any model is built for the problem in hand, the entire dataset exists as a single entity. One can start learning from this dataset and use the built models to make predictions on unseen data. The later part is called generalisation in Machine Learning terminology. Training on entire dataset leads to an overfitted model…