-
-
Notifications
You must be signed in to change notification settings - Fork 26.6k
ENH Implement inverse_transform in DictionaryLearning, SparseCoder and MiniBatchDictionaryLearning
#30443
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
+75
−3
Merged
ENH Implement inverse_transform in DictionaryLearning, SparseCoder and MiniBatchDictionaryLearning
#30443
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
649d858
add inverse transform and update tests
rflamary c2e295a
Merge branch 'scikit-learn:main' into invers_transform_dl
rflamary 9949d1f
Merge branch 'main' into invers_transform_dl
rflamary 0670501
add whats new
rflamary 76f7cba
Merge branch 'invers_transform_dl' of github.com:rflamary/scikit-lear…
rflamary fbb8986
fix test
rflamary 5a77b55
add split sign test
rflamary 4ee03d3
Merge branch 'main' into invers_transform_dl
rflamary 3890d40
make test better
rflamary a63120e
Merge branch 'invers_transform_dl' of github.com:rflamary/scikit-lear…
rflamary e2c0491
Merge branch 'main' into invers_transform_dl
rflamary 714ffd6
Merge branch 'main' into invers_transform_dl
rflamary b2fa0c0
Merge branch 'main' into invers_transform_dl
rflamary c176288
change whatsnew
rflamary 3f7fbfa
add awhatsnew
rflamary c6522ea
add method to SparseCoder and test it
rflamary ff5c489
Merge branch 'main' into invers_transform_dl
rflamary f345498
Update sklearn/decomposition/_dict_learning.py
rflamary 2172b97
Update sklearn/decomposition/_dict_learning.py
rflamary 87b57fa
Update sklearn/decomposition/_dict_learning.py
rflamary a852863
Apply suggestions from code review
rflamary cb9bdd7
add cjeck_array
rflamary 43cbf0e
add check + test
rflamary 503398c
fix shape
rflamary 8b8827e
Merge branch 'main' into invers_transform_dl
rflamary 238594a
Update sklearn/decomposition/_dict_learning.py
rflamary 30596f8
better name
rflamary f963516
Merge branch 'invers_transform_dl' of github.com:rflamary/scikit-lear…
rflamary f2aeca0
add matching for test
rflamary 1a1a69e
Merge branch 'main' into invers_transform_dl
rflamary e072b70
Merge branch 'main' into invers_transform_dl
rflamary ce8ff50
Merge branch 'main' into invers_transform_dl
rflamary f36eeee
Merge branch 'main' into invers_transform_dl
rflamary 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
4 changes: 4 additions & 0 deletions
4
doc/whats_new/upcoming_changes/sklearn.decomposition/30443.feature.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:`~sklearn.decomposition.DictionaryLearning`, | ||
| :class:`~sklearn.decomposition.SparseCoder` and | ||
| :class:`~sklearn.decomposition.MiniBatchDictionaryLearning` now have a | ||
| ``inverse_transform`` method. By :user:`Rémi Flamary <rflamary>` |
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
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.