-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
DOC link to example explaining init
usage in KMeans
#26981
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
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
f3394a1
Added a link to documentation
cynthias13w eebe221
Deleted unnecessary files
cynthias13w 8801473
Merge branch 'main' into example_link
cynthias13w 260566b
Removed empty line from sklearn/cluster/_kmeans.py
cynthias13w 3609c30
Update sklearn/cluster/_kmeans.py
cynthias13w 64aaab9
Added a link to documentation
cynthias13w 2e2918e
Deleted unnecessary files
cynthias13w 31d5742
Merge branch 'main' into example_link
cynthias13w 4aa2c1c
Updated init parameter description using bullet points
cynthias13w 86d05b5
Merge branch 'example_link' of github.com:cynthias13w/scikit-learn in…
cynthias13w c8ec47d
Updated Kmeans parameter using bullet points
cynthias13w f309d2a
Merge branch 'main' into example_link
cynthias13w c36ae3c
FIX: line too long
cynthias13w 969ffc3
Updated indentation
cynthias13w 4b24153
Update sklearn/cluster/_kmeans.py
cynthias13w 3d10de2
Merge branch 'main' into example_link
glemaitre 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
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.
I think that I would like to use item for the different options above (using
-
). It will make it obvious which part of the discussion is about the options forinit
and which part is to go further (the new link to the example).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.
Hi Guillaume, thank you for reviewing😄
What do you mean by 'using -'?
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.
Transforming the sentence into a list, e.g.
vs
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.
If I understood the original suggestion correctly, I believe it was more intended to separate "If an array is passed..." and "If a callable is passed..." as separate list entries, as opposed to the inputs of the callable that is now listed.
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.
Thank you for your reply!
I modified it.
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.
Lines underneath a list symbol
*
that contain text to be included in the body of the list entry need to be indented with two spaces (I think. May be four spaces?). The formatting is a bit tricky sometimes. I still struggle with it myself😅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.
Thank you.
I fixed the indentation 😊