-
Notifications
You must be signed in to change notification settings - Fork 803
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
Fix unit tests #1031
Fix unit tests #1031
Conversation
Also changed handling of SciPy version comparisons so we leverage tuples of integers instead of strings. This does not break now that the SciPy minor has gone over 1.9.
The way warnings were caught in order to report issues with spectral initialization, warnings of deprecation in dependency code forced the breakage of our own unit tests.
Now have only one single-component spectral initialization routine.
Also fix an issue with how the random_state parameter is used incoherently between clients.
As I am going on vacation, let's park this as a draft until I'm back. |
Still some failing tests; they seem to have dropped off from azure; Should I just merge as is and we can fix the last few tests if they are still failing? |
The exact number is not critical, so any matching warning _can_ be issued more than once.
One of the remaining issues I know is fixed by @lmcinnes (who is waiting on this PR to merge it). The other one has to do with the numerical behaviour of the spectral initializer on MacOS. I'll inspect this one out of this PR, so I call a merge of this. |
This PR fixes unit tests that had decayed because of some unsound warning handling and deprecations in dependency calling contracts. It also refactors the
umap.spectral
comprehensively, removing code duplication and improving the legibility of alternative approaches to spectral initialization of the low-space embedding.