Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

author topic model support #84

Open
eamonnmag opened this issue Feb 15, 2017 · 1 comment
Open

author topic model support #84

eamonnmag opened this issue Feb 15, 2017 · 1 comment

Comments

@eamonnmag
Copy link

It would be great to have support for visualization of author topic models. At present you will get this error:

/Users/eamonnmaguire/.virtualenvs/coref3/lib/python3.5/site-packages/pyLDAvis/gensim.py in _extract_data(topic_model, corpus, dictionary, doc_topic_dists)
     40           gamma = topic_model.inference(corpus)
     41       else:
---> 42           gamma, _ = topic_model.inference(corpus)
     43       doc_topic_dists = gamma / gamma.sum(axis=1)[:, None]
     44 

TypeError: inference() missing 3 required positional arguments: 'author2doc', 'doc2author', and 'rhot'

This would require some changes to the UI I'd imagine to allow for selection of an author to view their topics.

@lg8897203
Copy link

#112

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants