vene/scikit-learn — pull request #16 by jakevdp (2012-08-16 04:51:10+00:00)
Title: Speed up symmetric_pinv

This allocates only the diagonal of psigma, and removes the loop in favor of a vectorized apporach. This is about 20% faster than the previous implementation.