{"action":"created","issue":{"url":"https://api.github.com/repos/scipy/scipy/issues/8216","repository_url":"https://api.github.com/repos/scipy/scipy","labels_url":"https://api.github.com/repos/scipy/scipy/issues/8216/labels{/name}","comments_url":"https://api.github.com/repos/scipy/scipy/issues/8216/comments","events_url":"https://api.github.com/repos/scipy/scipy/issues/8216/events","html_url":"https://github.com/scipy/scipy/issues/8216","id":281930552,"number":8216,"title":"[Feature Request]: scipy.sparse.linalg.pinv","user":{"login":"zfrenchee","id":2761597,"avatar_url":"https://avatars0.githubusercontent.com/u/2761597?v=4","gravatar_id":"","url":"https://api.github.com/users/zfrenchee","html_url":"https://github.com/zfrenchee","followers_url":"https://api.github.com/users/zfrenchee/followers","following_url":"https://api.github.com/users/zfrenchee/following{/other_user}","gists_url":"https://api.github.com/users/zfrenchee/gists{/gist_id}","starred_url":"https://api.github.com/users/zfrenchee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zfrenchee/subscriptions","organizations_url":"https://api.github.com/users/zfrenchee/orgs","repos_url":"https://api.github.com/users/zfrenchee/repos","events_url":"https://api.github.com/users/zfrenchee/events{/privacy}","received_events_url":"https://api.github.com/users/zfrenchee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-12-13T23:19:56Z","updated_at":"2017-12-14T02:19:27Z","closed_at":null,"author_association":"NONE","body":"Hello, \r\n\r\nI'd like to get the pseudo-inverse of a sparse matrix. It seems like this isn't yet possible in scipy. \r\n\r\nMy current options seem to be `np.linalg.pinv(sparse_matrix.todense())` or if my matrix was better behaved, `scipy.sparse.linalg.inv(sparse_matrix)`. The second of those currently gives me `RuntimeError: Factor is exactly singular` which I expect. I'm using the first of those to solve my immediate problem, but would love to see `scipy.sparse.linalg.pinv` implemented! \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/scipy/scipy/issues/comments/351588108","html_url":"https://github.com/scipy/scipy/issues/8216#issuecomment-351588108","issue_url":"https://api.github.com/repos/scipy/scipy/issues/8216","id":351588108,"user":{"login":"charris","id":77272,"avatar_url":"https://avatars3.githubusercontent.com/u/77272?v=4","gravatar_id":"","url":"https://api.github.com/users/charris","html_url":"https://github.com/charris","followers_url":"https://api.github.com/users/charris/followers","following_url":"https://api.github.com/users/charris/following{/other_user}","gists_url":"https://api.github.com/users/charris/gists{/gist_id}","starred_url":"https://api.github.com/users/charris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charris/subscriptions","organizations_url":"https://api.github.com/users/charris/orgs","repos_url":"https://api.github.com/users/charris/repos","events_url":"https://api.github.com/users/charris/events{/privacy}","received_events_url":"https://api.github.com/users/charris/received_events","type":"User","site_admin":false},"created_at":"2017-12-14T02:19:27Z","updated_at":"2017-12-14T02:19:27Z","author_association":"MEMBER","body":"Let me ask for one more level back. Why do you want the pseudo inverse of the laplacian of a graph?"}}
{"actor":{"display_login":"charris"}}