This commit is contained in:
1 parent
c545879253
commit
8beeb7dbc7
134 files changed
+3722
-1287
No files matched your search
@@ -13,4 +13,6 @@ def linfit(x, y):
|
||||
ssreg = np.sum((yhat - ybar)**2)
|
||||
sstot = np.sum((y - ybar)**2)
|
||||
R2 = ssreg / sstot
|
||||
return (p, x_fit, y_fit, R2)
|
||||
return (p, x_fit, y_fit, R2)
|
||||
|
||||
|
||||
Reference in new issue
Block a user