Run cvb in mahout 0.8

后端 未结 2 2022
谎友^
谎友^ 2021-02-04 20:22

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

2条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-04 21:18

    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

提交回复
热议问题