Repository navigation
Replies: 1 comment
|
The default hierarchy isn't a preview of |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello,
Reading the source code (bertopic version 0.17.3), I realised that :
visualize_hierarchy, the default behaviour was to use the the c-TF-IDF embeddings and the ward linkage function (cf _bertopic.py L3064 and L3099)._reduce_to_n_topics, the default behaviour was to use the topic embeddings and the average linkage function (cf _bertopic.py L4442 and L4464).This made me confused, as I'd expect that the visualisation method and the topic reduction method to follow the same logic.
My question is: why not using the same linkage function? Why using the C-TF-IDF embeddings?
Thank you for your time.
All reactions