[Python] Can we perform stratify for linear regression model?

Discussão em 'Python' iniciado por Stack, Outubro 5, 2024.

  1. Stack

    Stack Membro Participativo

    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...

Compartilhe esta Página