Scikit Split use

Why do we use scikit split?

When we get the dataset, we need to train our models and out of these models we need to check which one is the best model. This judgement can’t be done on the basis of training error, as some of them might overfit. So we need to split the dataset, (generally in 80:20 ratio) where we check validation accuracy on the 20% of testing data, and the model with highest validation accuracy is the best one out and we select it.

Hope this cleared your doubt :blush:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.