Re: score function in linear regression model

2022-10-26 Thread Thomas Passin
There's a fairly good rundown of score() here: "[Python/Sklearn] How does .score() works?" https://www.kaggle.com/getting-started/27261 On 10/26/2022 2:18 AM, Fatemeh Heydari wrote: 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

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 in Y > and compares

Re: score function in linear regression model

2022-10-24 Thread Reto
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 in Y and compares the output of model.Predict(X) with the Y's and gives you some metrics as to

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