Last answered:

05 Apr 2022

Posted on:

05 Apr 2022

1

summary table : simpLe Linear Regression

why when using reg.fit(x_matrix,y)  it doesn't display

LinearRegression(copy_X=True, fit_intercept=True, n_jobs=1, normalize=False)
 
it displayed only the following : 
LinearRegression()
1 answers ( 0 marked as helpful)
Instructor
Posted on:

05 Apr 2022

4

Hey Yahiaoui,

Thank you for your question!

In the newer versions of the sklearn library, a parameter is displayed only when it's value is set to be different from the default one. Still, you can check all parameter values by calling the get_params() method as follows:

reg.get_params()

Kind regards,
365 Hristina

Submit an answer