wilmerags commited on
Commit
629cfc4
·
1 Parent(s): 2e82d12

feat: Lower minimun observations thresholds to allow more clusters creation

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -70,7 +70,7 @@ def generate_plot(
70
  embeddings = embed_text(df, model)
71
  # encoded_labels = encode_labels(labels)
72
  cluster = hdbscan.HDBSCAN(
73
- min_cluster_size=10,
74
  metric='euclidean',
75
  cluster_selection_method='eom'
76
  ).fit(embeddings)
 
70
  embeddings = embed_text(df, model)
71
  # encoded_labels = encode_labels(labels)
72
  cluster = hdbscan.HDBSCAN(
73
+ min_cluster_size=2,
74
  metric='euclidean',
75
  cluster_selection_method='eom'
76
  ).fit(embeddings)