-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
FIX Fix multiple severe bugs in non-metric MDS #30514
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
Merged
adrinjalali
merged 32 commits into
scikit-learn:main
from
dkobak:non-metric-mds-bugfixes
Mar 31, 2025
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
439f9b0
Fix multiple bugs in nonmetric MDS
dkobak 505e6f4
Add what's new
dkobak ebd156c
Remove obsolete test
dkobak 5037cbf
Update example to pass doctest
dkobak e4de182
Fix the MDS example
dkobak 1cf59c5
Fix the docs and docstrings regarding normalized_stress
dkobak 0ccd609
Add tests
dkobak 40baee9
Add one more test
dkobak 60f7364
Add issue number to test
dkobak 287a950
Add random seed
dkobak a7bedf4
Add refernce to the R implementation
dkobak 437f146
Remove double line break
dkobak 75297f8
Rename some variables
dkobak 4a2346a
Fix the User Guide for MDS
dkobak 8bed24c
Fix the User Guide
dkobak 0a4dc1f
fix the typo that has been fixed in upstream/main
dkobak 28f69d5
Merge branch 'main' into non-metric-mds-bugfixes
dkobak ce121e0
Update examples/manifold/plot_mds.py
dkobak e1a8e35
Update examples/manifold/plot_mds.py
dkobak 11110d9
Update doc/modules/manifold.rst
dkobak f91923f
Update doc/modules/manifold.rst
dkobak 18fc2a8
Update doc/modules/manifold.rst
dkobak 2d9b7bf
update docs
dkobak 93516a0
update docs
dkobak fb0e1d6
Fix an error in the example
dkobak 2756453
Update doc/modules/manifold.rst
dkobak b4cb108
Update doc/modules/manifold.rst
dkobak d24f784
Exclude verbose outputs from coverage tests
dkobak 65edaa9
Merge branch 'non-metric-mds-bugfixes' of github.com:dkobak/scikit-le…
dkobak 45053be
Update doc/modules/manifold.rst
dkobak fc3b95c
Clarify formulation
dkobak 108321c
Merge branch 'main' into non-metric-mds-bugfixes
dkobak File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
doc/whats_new/upcoming_changes/sklearn.manifold/30514.fix.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- :class:`manifold.MDS` now correctly handles non-metric MDS. Furthermore, | ||
the returned stress value now corresponds to the returned embedding and | ||
normalized stress is now allowed for metric MDS. | ||
By :user:`Dmitry Kobak <dkobak>` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.