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

Fix convergenceWarning #22

Open
chenxinye opened this issue Mar 23, 2022 · 0 comments
Open

Fix convergenceWarning #22

chenxinye opened this issue Mar 23, 2022 · 0 comments

Comments

@chenxinye
Copy link
Member

I fix a bug arisen from the number unique pieces is more than the specified number of kmeans clusters:

ConvergenceWarning: Number of distinct clusters (6) found smaller than n_clusters (9). Possibly due to duplicate points in X.
kmeans = KMeans(n_clusters=k, tol=0, random_state=0).fit(data)

ConvergenceWarning: Number of distinct clusters (8) found smaller than n_clusters (9). Possibly due to duplicate points in X.
kmeans = KMeans(n_clusters=k, tol=0, random_state=0).fit(data)
file: ShakeGestureWiimoteZ_TEST.tsv

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

1 participant