score function in linear regression model

2022-10-23 Thread Fatemeh Heydari
Hi every one ! Using sklearn and linear model I made a linear regression and I reached out to a function named "score". Does anyone know what does it exactly calculate? The code for this function is like this: model.score(X,Y) Thanks in advance! -- https://mail.python.org/mailman/listinfo/pyt

Re: score function in linear regression model

2022-10-26 Thread Fatemeh Heydari
On Monday, October 24, 2022 at 7:14:10 AM UTC-7, Reto wrote: > On Sun, Oct 23, 2022 at 05:11:10AM -0700, Fatemeh Heydari wrote: > > model.score(X,Y) > > That will basically check how good your model is. > > It takes a bunch of X values with known values, which you provide