How to custom the csv input for prodLDA?

  • Probabilistic Topic Modeling — Pyro Tutorials 1.6.0 documentation
  • The pyro module have provided various example, however, no tutorial to custom csv files for common models, such as prodLDA. Could you kindly suggest how to prepare input data for prodLDA?
    My datasets were like that:
    feature.name | A | B | C | D
    Attr.type | topic | topic | word | word
    document.1 | 5 | 3 | 2 | 5
    document.2 | 4 | 2 | 4 | 8
    document.3 | 3 | 1 | 5 | 2

Hi @cs001632, for preprocessing, please see the corresponding section of the tutorial.