divergence function

Optimize the number of topics for LDA