inpho / vsm

Vector Space Model Framework developed for InPhO
http://inpho.github.io/vsm
Other
35 stars 14 forks source link

`LdaViewer.aggregate_doc_topics` and `LdaViewer.doc_topics(aggregate=True)` #118

Open JaimieMurdock opened 9 years ago

JaimieMurdock commented 9 years ago

These two functions should have equivalent output. Currently LdaViewer.aggregate_doc_topics(ids) returns a list of topics and probabilities. An option should be added to show_topics, being the top 10 words. LdaViewer.doc_topics(ids, aggregate=True) returns a DataTable with the topic probabilities for each document, normalized such that the sum of all document probabilities is 1.