dongwookim-ml / python-topic-model

Implementation of various topic models
Apache License 2.0
369 stars 172 forks source link

Per-document topic distribution (ATM)? #6

Closed mikekestemont closed 8 years ago

mikekestemont commented 8 years ago

Thanks for a great package -- I just got the author-topic model successfully running and I was wondering whether there is a simple way to get the per-document topic distribution for (a) the documents an author-topic model was fitted on or (b) new documents. Thanks in advance for any replies!

dongwookim-ml commented 8 years ago

Hi, the author-topic model does not provide any information about topic distribution per document. The model assumes that a document is generated by the average topic distribution of authors (each author has equal contribution to the document), so you could use it as a topic distribution of a new document (if you know the authors of the document already).