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

Clustering error, when using a higher number of documents found #39

Open
gogasca opened this issue Dec 9, 2019 · 0 comments
Open

Clustering error, when using a higher number of documents found #39

gogasca opened this issue Dec 9, 2019 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@gogasca
Copy link
Owner

gogasca commented Dec 9, 2019

[2019-12-09 06:02:02,883: INFO/Worker-4] Total news found: 3
[2019-12-09 06:02:02,883: INFO/Worker-4] Found 3 articles.
[2019-12-09 06:02:02,914: INFO/Worker-4] Processed 3 documents.
[2019-12-09 06:02:02,914: ERROR/Worker-4] Samples [3] should be greater of equal number of clusters [8].
Traceback (most recent call last):
  File "/usr/local/src/news_ml/main/appD.py", line 67, in process_clustering
    clustering_instance.process_articles()
  File "/usr/local/src/news_ml/services/clustering/k_means/ClusterD.py", line 281, in process_articles
    num_of_documents, self.num_of_clusters))
ValueError: Samples [3] should be greater of equal number of clusters [8].
@gogasca gogasca self-assigned this Dec 9, 2019
@gogasca gogasca added the bug Something isn't working label Dec 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant