wilmerags commited on
Commit
2d7af1c
1 Parent(s): 59ff44b

feat: Lowering min cluster size to help create more interesting topics

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