This script aligns two topic models produced by MALLET (http://mallet.cs.umass.edu/)
Reciprocal topic pairs are reported with JS divergence measure.
Reciprocal pair (i,j) is defined when the distance of topic i from the first model (M1) and topic j from the second model (M2)
is minimal for all pairs (i,k) for k in M2 and (l,j) for l in M1 (best match for both topics).
This is useful for:
1. Qualitatively comparing different modeling parameters or algorithms
2. Identifying stable topics when running a few times
My site: http://www.cs.bgu.ac.il/~cohenrap/
Lab site: http://www.cs.bgu.ac.il/~nlpproj/
Sister project: http://sourceforge.net/projects/corpusredundanc/
Follow Topic Model Alignment
Other Useful Business Software
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Topic Model Alignment!