This video demonstrates the usage of the option "stratify=y" in the train_test_split function in sckit-learn library of Python and also explains as to why the stratification is necessary.
Link to the code: https://github.com/sanjayssane/Machin...
Link to the dataset: https://github.com/sanjayssane/Machin...
Watch video Stratification | Why to Stratify? | stratify=y option online without registration, duration hours minute second in high quality. This video was added by user Sane's Academy of Artificial Intelligence 13 February 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 263 once and liked it 11 people.