Thread: OPR
View Single Post
  #13   Spotlight this post!  
Unread 27-02-2015, 09:05
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,044
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: OPR

Quote:
Originally Posted by saikiranra View Post
Code:
x = np.linalg.cho_solve(np.linalg.cho_factor(M) , s)
linalg.cho_factor() and linalg.cho_solve() are in scipy, not numpy.



Attached is a sparse-format "M" matrix generated from this data containing 2,696 teams and 8,921 matches.

Can someone with a Python installation please factor that matrix with LU1 and Cholesky2 and report the times?


1scipy.linalg.lu(M)
2scipy.linalg.cho_factor(M)



Attached Files
File Type: zip M_sparse.zip (181.1 KB, 6 views)
Reply With Quote