I wanted to perform stratify method while splitting tran_test_split for linear regression problem. I know that stratify will perform on classification problems as it excepts 2 or more classes what to know is there any method or way to perform this method for linear regression is there a standard way to do this? if so, is there an implementation in sklearn? Continue reading...