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 how good that performed. In the case of linear regression that be R^2, the coefficient of determination of the prediction. Cheers, Reto -- https://mail.python.org/mailman/listinfo/python-list