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

Make methods consistent #11

Open
tdhopper opened this issue Oct 7, 2015 · 0 comments
Open

Make methods consistent #11

tdhopper opened this issue Oct 7, 2015 · 0 comments

Comments

@tdhopper
Copy link
Member

tdhopper commented Oct 7, 2015

The term_relevance_by_topic method of the state class returns a list (over the topics) of lists. The internal lists contain tuples where the first element is the word and the second is the the term relevance score.

The word_distribution_by_topic method returns a list (over the topics) of dicts. The dicts are mappings from vocabulary words to probabilities of the word being generated by the given topic.

We should make the data structures of these more similar as well as make the names more consistent. ("Word" and "term" are being used interchangeably.)

@tdhopper tdhopper changed the title Make methods consitent Make methods consistent Oct 7, 2015
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

1 participant