We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Constructing a scipy.sparse.lil_matrix in UMAP.inverse_transform raises a FutureWarning
scipy.sparse.lil_matrix
UMAP.inverse_transform
FutureWarning
OS: macOS Python 3.7.7 (default, Mar 26 2020, 10:32:53) NumPy 1.17.5 SciPy 1.2.1 umap 0.4
I put the code to reproduce the issue in this gist
This issue is caused by a backward incompatibility of scipy < 1.3 with the latest updates of Numpy (numpy>=1.17) APIs for broadcast_arrays.
scipy < 1.3
numpy>=1.17
broadcast_arrays
scipy 1.3.1 fixes this issue: scipy/scipy#10379
scipy 1.3.1
Looking at UMAP requirements.txt this is a perfectly valid combination of packages versions.
requirements.txt
Due to the recent API changes in Numpy I would suggest to updates the requirements with most recent and non-conflicting numpy and scipy versions:
numpy
scipy
numpy>=1.17 scipy>=1.3.1
The text was updated successfully, but these errors were encountered:
Update requirements for scipy and numpy per #400
2b9e6eb
Thanks -- good catch. I am not great at keeping up with the changing requirements.
Sorry, something went wrong.
No branches or pull requests
Description
Constructing a
scipy.sparse.lil_matrix
inUMAP.inverse_transform
raises aFutureWarning
Versions
Steps/Code to Reproduce
I put the code to reproduce the issue in this gist
Cause
This issue is caused by a backward incompatibility of
scipy < 1.3
with the latest updates of Numpy (numpy>=1.17
) APIs forbroadcast_arrays
.scipy 1.3.1
fixes this issue: scipy/scipy#10379Proposed solution
Looking at UMAP
requirements.txt
this is a perfectly valid combination of packages versions.Due to the recent API changes in Numpy I would suggest to updates the requirements with most recent and non-conflicting
numpy
andscipy
versions:The text was updated successfully, but these errors were encountered: