-
-
Notifications
You must be signed in to change notification settings - Fork 26.6k
[MRG] Changed name n_components to n_connected_components in AgglomerativeClustering base class #13427
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
agramfort
merged 30 commits into
scikit-learn:master
from
scouvreur:AgglomerativeClustering-n_components_-Renaming
Apr 4, 2019
Merged
[MRG] Changed name n_components to n_connected_components in AgglomerativeClustering base class #13427
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
afb4335
Changed name n_components to n_connected_components in base class
scouvreur e3e267c
Fixed line which exceeded PEP8 max of 79 chars
scouvreur c9adc5f
Fixed line 818 which exceeded PEP8 max of 79 chars
scouvreur abe4617
Added try and except to provide deprecation warning if passed
scouvreur b51a058
Updated deprecation and removal version numbers
scouvreur ff8b930
Added deprecation of n_components using @property generator
scouvreur 1ccb7c6
Makes FeatureAgglomeration class inherit n_connected_components_ attr…
scouvreur ca31d0d
Added test for DeprecationWarning when trying to access n_components
scouvreur 238c4ac
Removed @property generator causing linting error
scouvreur cb73b10
Fixed typo in test
scouvreur 0e5aeb4
Fixed flake8 error due to single line between 2 functions
scouvreur 54fd143
Test fix attempt
scouvreur 852e55e
Edited test function docstring
scouvreur 260a15b
Corrected n_components deprecation test docstring
scouvreur 5d30766
Fixed line continuation issue in AgglomerativeClustering base class
scouvreur 1cbdf5c
Added deprecation message as part of the @deprecated decorator
scouvreur 61caa9a
Merge branch 'master' into AgglomerativeClustering-n_components_-Rena…
5626fbc
Added attribute deprecation information in the Attributes section of…
scouvreur 14ac792
Added test for deprecation warning message
scouvreur 17aded9
Added attribute deprecation information in the Attributes section of…
scouvreur 822eaa5
Fixed test issue and added longer match string
scouvreur bdbb14a
Edited n_components_ deprecation message to add double backticks
scouvreur 993fc35
Fixed match string to reflect deprecation message change in test
scouvreur ce8f02a
Added name to list of contributors
scouvreur 31354c3
Documented information in v0.21 changelog
scouvreur 4cbe2c1
Added cluster parent folder to documentation in v0.21 changelog
scouvreur 7faf58a
Removed myself from list of core contributors
scouvreur 7642f64
Moved |API| subsection to the end of the list, and changed reference …
scouvreur 6c76d7c
Removed n_components deprecation documentation from FeatureAgglomerat…
scouvreur 98a18df
Fix indentation on _fix_connectivity function call
scouvreur 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
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
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.