Last answered:

24 Nov 2021

Posted on:

24 Nov 2021

0

The version of scikit-learn used by the instructor

According to conda list, my installed version of scikit learn is
scikit-learn              1.0.1            py38hae1ba45_0

My LinearRegressiopn(x_matrix,y) does not produce same output as the instructor.
My output is simply as following:
image.png

Thanks,
Isaac

1 answers ( 0 marked as helpful)
Instructor
Posted on:

24 Nov 2021

0

Hey Isaac,

Thank you for your question!

You are correct, the developers have made some changes to the output. Nevertheless, you can still check the values of copy_Xfit_interceptn_jobsnormalize , as well as positive , by calling the get_params() method as follows:

reg.get_params()

Hope this helps!

Kind regards,
365 Hristina

Submit an answer