ram_98
ram_98

Reputation: 43

Can we perform stratify for linear regression model?

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?

Upvotes: 0

Views: 408

Answers (1)

Pablo Salinas
Pablo Salinas

Reputation: 41

We’re facing an issue with inconsistent regression test outputs in scikit-learn, described in this GitHub issue #30009. I believe resolving this could help stabilize the tests. Any insights or suggestions are greatly appreciated!

Upvotes: 0

Related Questions