Skip to content

Tag: cpu

Fastest way for computing pseudoinverse (pinv) in Python

I have a a loop in which I’m calculating several pseudoinverses of rather large, non-sparse matrices (eg. 20000×800). As my code spends most time on the pinv, I was trying to find a way to speed up the computation. I’m already using multiprocessing (joblib/loky) to run with several processes,…