Skip to content

0.20rc1: MeanShift test failure (swapped labels) #12014

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

Closed
yarikoptic opened this issue Sep 5, 2018 · 2 comments
Closed

0.20rc1: MeanShift test failure (swapped labels) #12014

yarikoptic opened this issue Sep 5, 2018 · 2 comments
Milestone

Comments

@yarikoptic
Copy link
Member

While building for Debian sid amd64, not sure if relates (gets fixed by) #11901:

_______________ [doctest] sklearn.cluster.mean_shift_.MeanShift ________________
352         Labels of each point.
353
354     Examples
355     --------
356     >>> from sklearn.cluster import MeanShift
357     >>> import numpy as np
358     >>> X = np.array([[1, 1], [2, 1], [1, 0],
359     ...               [4, 7], [3, 5], [3, 6]])
360     >>> clustering = MeanShift(bandwidth=2).fit(X)
361     >>> clustering.labels_
Expected:
    array([0, 0, 0, 1, 1, 1])
Got:
    array([1, 1, 1, 0, 0, 0])

full buildlog: http://neuro.debian.net/_files/_buildlogs/scikit-learn/0.20~rc1/scikit-learn_0.20~rc1-1_amd64.build

@jnothman
Copy link
Member

jnothman commented Sep 5, 2018 via email

@jnothman
Copy link
Member

jnothman commented Sep 5, 2018

I'm closing this as presumed fixed by #11901

@jnothman jnothman closed this as completed Sep 5, 2018
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

No branches or pull requests

2 participants