Linear Regression
Another tip from Haki.
Another common tool for analyzing data is linear regression. For example, performing linear regression using Pandas and Scipy:
| |
Most developers probably don’t expect the database to have statistical functions, but PostgreSQL does:
| |
Using statistical aggregate functions in PostgreSQL we got results similar to scipy.
#Linear Regression #Python #Sql #Postgresql #Scipy #Regr_slope #Regr_intercept