The current Mahout 0.8-SNAPSHOT includes a Collapsed Variational Bayes (cvb) version for Topic Modeling and removed the Latent Dirichlet Analysis (lda) approach, because cvb can
Thanks to JoKnopp for the detail commands.
If you get: Exception in thread "main" java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
you need to add the command line option "maxIterations": --maxIterations (-m) maxIterations
I use -m 20 and it works
refer to: https://issues.apache.org/jira/browse/MAHOUT-1141