Kaggle, Machine Leanring, Machine Learning Projects, Python, Colab.
train_test_split() method, can you see Stratify? Do you know what it will do? Let me tell you how it works. Let’s say, in a school, there are 400 girls and 600 boys if you want to take a sample of 100 from this population, you should take 40 girls and 60 boys that will be the correct representation