New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pinv2 deprecated #197
Comments
Hi! Thank you for your interest in our package. @the-nihilist-ninja I am going to close this issue for now. But please feel free to reopen this issue or create a new one if needed. |
Thanks for the tips. Would that be possible to update it on pypi? |
Updating on pypi should be possible with cardboardlint. |
We are again having issues here. I think we need to remove the The issue with Moore-Penrose pseudoinverses not working still exists, however, although it rarely occurs. (It is a shame that try:
Minv = np.linalg.pinv(M)
except np.linalg.LinAlgError:
M = 2e-14*np.random.random_sample((t1.shape[0],t1.shape[1])) - 1e-14
M= np.linalg.pinv(M) |
Do you mean getting an error when using |
Yep, we can resolve this by requiring old versions of scipy, which is fine. But probably better to evolve to the newest versions of scipy anyway. |
Can you (or who encountered the problem) provide an example showing the problem of using |
The issue showed up in |
@Moham21 can you give an example of a matrix whre |
I checked the test errors that I had so far and I didn't come across an inverse problem, but rather an eigenvalue conversion. And we have decided to |
Do you still have a matrix example to show how the |
I talked to @Moham21 and the examples she had were from the eigenvalue problem. She was constructing a generalized inverse, but doing it "by hand" using the eigenvalues. As I recall, the examples that failed where ones where the matrix had several rows and/or columns of zeros. I think a nilpotent matrix might be a good example, but I did not confirm this. |
Hello,
Since scipy 1.9.0 , the function pinv2 has been subsumed in pinv, is it possible to remove it's use in generic.py
P.S
Attaching link to the release notes https://docs.scipy.org/doc/scipy/release.1.9.0.html?highlight=pinv2
The text was updated successfully, but these errors were encountered: