Last answered:

15 Feb 2022

Posted on:

06 Apr 2021

1

Error while fitting the model

When I fit the regression using reg.fit, I only get LinearRegression(), brackets are empty. The normalize,fit-intercept,copy_X and n_jobs  values don't appear.

3 answers ( 0 marked as helpful)
Posted on:

24 Sept 2021

0

I have this issue as well. Possible for support team to provide more information on why there is no further information in the LinearRegression object?

Posted on:

15 Feb 2022

0

the instructor team provided the solution: reg.get_params() should make it.

Posted on:

15 Feb 2022

0

in addition to the new code reg.get_params() , you still need to run reg.fit(x,y) to get the codes for coef and intercept working.

Submit an answer