Return a hierarchical clustering of topics
Returns a hierarchical clustering of topics that can be plotted as a dendrogram.
There are two ways of measuring topic similarity: topics may contain the some of the same words, or the may appear in some of the same documents. The
balance parameter allows you to interpolate between the similarities determined by these two methods.
mallet.topic.hclust(doc.topics, topic.words, balance)
A documents by topics matrix of topic probabilities.
A topics by words matrix of word probabilities.
A value between 0.0 (use only document-level similarity) and 1.0 (use only word-level similarity).
This function uses data matrices from
1 2 3 4 5
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.