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
Get the most trusted enterprise browser
Chrome Enterprise's advanced, built in security helps IT teams prevent breaches before they happen.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Topic Model Alignment!