Updated topic modeling code

parent 8e243693
...@@ -179,7 +179,7 @@ class TopicCluster: ...@@ -179,7 +179,7 @@ class TopicCluster:
print("\n") print("\n")
return category return category
#using topic modeling get the top words
cluster_names_list = [] cluster_names_list = []
print("Top terms per cluster:") print("Top terms per cluster:")
order_centroids = km.cluster_centers_.argsort()[:, ::-1] order_centroids = km.cluster_centers_.argsort()[:, ::-1]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment