ddangelov / Top2Vec

Top2Vec learns jointly embedded topic, document and word vectors.
BSD 3-Clause "New" or "Revised" License
2.92k stars 373 forks source link

How to perform topic reduction? #319

Open AlbertoDeBenedittis opened 1 year ago

AlbertoDeBenedittis commented 1 year ago

How could I perform topic reduction on topic vectors to hierarchically group similar topics and reduce the number of topics discovered?

Vela-zz commented 1 year ago

The class provide method called hierarchical_topic_reduction(), which find the smallest cluster first and merge it with the nearst cluster untill reach the num_of_topic you want