Catherine Breslin commited on
Commit
30b1966
1 Parent(s): 0ad84e1

Clustering

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -61,6 +61,7 @@ if text:
61
  for j,ea in enumerate(embed):
62
  sim[i][j] = 1.0-cosine(em,ea)
63
  plot_heatmap(sentences, sim)
 
64
  cluster_examples(sentences, embed, nc)
65
 
66
 
 
61
  for j,ea in enumerate(embed):
62
  sim[i][j] = 1.0-cosine(em,ea)
63
  plot_heatmap(sentences, sim)
64
+ st.subheader("Results from K-Means Clustering")
65
  cluster_examples(sentences, embed, nc)
66
 
67