-
Notifications
You must be signed in to change notification settings - Fork 230
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
[MRG] Uniformize initialization for all algorithms #195
Merged
perimosocordiae
merged 56 commits into
scikit-learn-contrib:master
from
wdevazelhes:feat/uniformized_initial_metric
Jun 7, 2019
Merged
Changes from 1 commit
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
a2ae9e1
initiate PR
5e626d5
Revert "initiate PR"
ffcfa2d
FEAT: uniformize init for NCA and RCA
27eb74b
Let the check of num_dims be done in the other PR
4395c13
Add metric initialization for algorithms that learn a mahalanobis matrix
09fda87
Add initialization for MLKR
0e59d72
FIX: fix error message for dimension
60ca662
FIX fix StringRepr for MLKR
71a75ed
FIX tests by reshaping to the right dataset size
1b2d296
Remove lda in docstring of MLKR
bd709e9
MAINT: Add deprecation for previous initializations
e162e6a
Update tests with new initialization
d1e88af
Make random init for mahalanobis metric generate an SPD matrix
eb98eff
Ensure the input mahalanobis metric initialization is symmetric, and …
508d94e
various fixes
bbf31cb
MAINT: various refactoring
aafa8e2
FIX fix default covariance for SDML in tests
748459e
Enhance docstring
06a55da
Set random state for SDML
d321319
Merge branch 'master' into feat/uniformized_initial_metric
26fb9e7
Fix merge remove_spaces that was forgotten
5e3daa4
Fix indent
e86b61b
XP: try to change the way we choose n_components to see if it fixes t…
0b69e7e
Revert "XP: try to change the way we choose n_components to see if it…
95a86a9
Be more tolerant in test
d622fae
Add test for singular covariance matrix
d2cc7ce
Fix test_singular_covariance_init
a7d2791
DOC: update docstring saying pseudo-inverse
3590cfa
Revert "Fix test_singular_covariance_init"
503a715
Ensure definiteness before returning the inverse
32bbdf3
wip deal with non definiteness
fdad8c2
Rename init to prior for SDML and LSML
5b048b4
Update error messages with either prior or init
d96930d
Remove message
2de3d4c
A few nitpicks
499a296
PEP8 errors + change init in test
c371d0c
STY: PEP8 fixes
b63d017
Address and remove TODOs
a5a6af8
Replace init by prior for ITML
9c4d70d
TST: fix ITML test with init changed into prior
8cb9c42
Add precision for MMC
b40e75e
Add ChangedBehaviorWarning for the algorithms that changed
0f5b9ed
Merge branch 'master' into feat/uniformized_initial_metric
cec35ab
Address https://github.com/metric-learn/metric-learn/pull/195#pullreq…
617ab0a
Remove the warnings check since we now have a ChangedBehaviorWarning
a5b13f2
Be more precise: it should not raise any ConvergenceWarningError
bd43168
Merge branch 'master' into feat/uniformized_initial_metric
0ea0aa6
Address https://github.com/metric-learn/metric-learn/pull/195#pullreq…
6e452ed
FIX remaining comment
4f822a8
TST: update test error message
c19ca4c
Improve readability
d8181d0
Address https://github.com/metric-learn/metric-learn/pull/195#pullreq…
21e20c6
Merge branch 'master' into feat/uniformized_initial_metric
e27d8a1
TST: Fix docsting lmnn
4a861c8
Fix warning messages
dd2b8c7
Fix warnings messages changed
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 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 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 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 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 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 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The previous default init was identity divided by 10