The OLS turned out not to be the bottleneck. It ran in well under a second. It was a DB access issue afterall.
I am unaware of the issue you bring up, but if i do learn more about OLS i will let you know. I am using it…"
In my experience, if I am using python to deal with a lot of numerical data that is constantly being called and iterated through, numpy is the way to go.
Because I have never used ols.ols() in in the scipy module, I…"
"I just looked at the source code for OLS, and it seems also maybe possible that its just the OLS implementation itself that is causing the performance issues. There are lot of calculations in there even though the code is relatively short.…"
"You can find more general information about Numpy and Scipy here:
http://new.scipy.org/getting-started.htmlAre you able to isolate the part of the code that is causing the performance problems.
For example, are there lot of nested…"
Thanks for the response. Thew application does several thousand 2 sided t-tests (which i have coded the math for directly in python), and several thousand OLS (http://www.scipy.org/Cookbook/OLS) tests daily. These look for significant…"
"Difficult to say without knowing more about what you application code is actually doing.
Are you using Numpy arrays to store the data? Numpy is written in C, and can give you much better performance than if you are using standard Python…"
Hi Everybody. I wonder what libraries you are using. I have built an application using scipy and the OLS cookbook and am finding it extraordiarily slow... Any suggestions would be greatly appreciated. ASee More