Skip to content
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

Example KMedoids #67

Merged
merged 12 commits into from
Aug 21, 2020
Merged

Conversation

TimotheeMathieu
Copy link
Contributor

Related to issue #22.
This PR add an example in the doc where KMedoids algorithm does better than sklearn clustering algorithms.

Plot of various clustering algorithms on a dataset with outliers, I have done two plots one with 300 points and with 3000 points to compare time and reaction to big datasets.

Hereafter are the figures that we obtain by running the algorithm.

image
image

Copy link
Contributor

@rth rth left a comment

Choose a reason for hiding this comment

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

Very nice, thank you @TimotheeMathieu ! A few minor comments otherwise LGTM.

examples/plot_clustering.py Outdated Show resolved Hide resolved
examples/plot_clustering.py Outdated Show resolved Hide resolved
examples/plot_clustering.py Outdated Show resolved Hide resolved
Copy link
Member

@chkoar chkoar left a comment

Choose a reason for hiding this comment

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

Are some random_states missing? I am referring to the models.

examples/plot_clustering.py Outdated Show resolved Hide resolved
examples/plot_clustering.py Outdated Show resolved Hide resolved
examples/plot_clustering.py Outdated Show resolved Hide resolved
examples/plot_clustering.py Outdated Show resolved Hide resolved
examples/plot_clustering.py Outdated Show resolved Hide resolved
examples/plot_clustering.py Outdated Show resolved Hide resolved
@rth
Copy link
Contributor

rth commented Aug 21, 2020

Thank you @TimotheeMathieu!

@rth rth merged commit 476f11f into scikit-learn-contrib:master Aug 21, 2020
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.

None yet

3 participants