Skip to content

Conversation

NicolasHug
Copy link
Member

This PR makes k_means use KMeans.fit instead of the reverse (see #14897 why)

This will help make the changes in #13603 less controversial.

API, functionalities and tests are unchanged.

I hope this also illustrates that k_means is mostly a useless wrapper.

ping @agramfort @adrinjalali @jnothman .

@agramfort
Copy link
Member

+146 −131 :)

@NicolasHug
Copy link
Member Author

Yes, going from a function to a method gives us 4 characters less.

@NicolasHug
Copy link
Member Author

also ping @jeremiedbb since you've been working on the file

Copy link
Member

@jeremiedbb jeremiedbb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Glad to see this happening :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants