Next big holdup: numpy.diag(N*p*(1-p)) is way too slow. Place this into a c routine as well.
Also, after much debugging, the memory leaks and segfaults (well...those that I know about so far) are coming from numpy.linalg.lstsq. Give up on the guessing, and set beta to 0 initially.
This commit is contained in:
parent
d8ca5028dd
commit
dd42ca112d