You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just checking if this worths a PR. Currently Lineal Regression returns m and b, but you always want to check R square attached to see how well the fit was. I know there is a R-square function but would be handy to have this one returned from the function since all formulas are already there.
Sure, I think that'd be a good addition - given that it can just be another property on the object already returned by linearRegression we should be able to add it in a minor version release.
Just checking if this worths a PR. Currently Lineal Regression returns m and b, but you always want to check R square attached to see how well the fit was. I know there is a R-square function but would be handy to have this one returned from the function since all formulas are already there.
Planning to push this one
which will translate to something like:
Using the same definitions you have for sumXY, SumY, SumX. I would add sumX2 and sumY2 plus the return value r to the function.
The text was updated successfully, but these errors were encountered: