Is it possible to perform multi-variate regression in Python using NumPy?
The documentation here suggests that it is, but I cannot find any more details on the topic.
Is it possible to perform multi-variate regression in Python using NumPy? The documentation here suggests that it is, but I cannot find any more details on the topic. |
||||
|
Yes, download this ( http://www.scipy.org/Cookbook/OLS?action=AttachFile&do=get&target=ols.0.2.py ) from http://www.scipy.org/Cookbook/OLS Or you can install R and a python-R link. R can do anything. |
|||||||||
|
The webpage that you linked to mentions numpy.linalg.lstsq to find the vector x
which minimizes First we setup some "random" data:
|
|||
|
You might want to look into the |
|||
|