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

Hierarchical Topic Modeling (Divisive) #56

Merged
merged 22 commits into from
Jul 31, 2024
Merged

Hierarchical Topic Modeling (Divisive) #56

merged 22 commits into from
Jul 31, 2024

Conversation

x-tabdeveloping
Copy link
Owner

@x-tabdeveloping x-tabdeveloping commented Jul 24, 2024

I added Hierarchical modeling to KeyNMF in a divisive manner.
In short, subtopics are calculated with a special case of weighted NMF, where the document weights are determined by the importance of the parent topic in the document.
I also added pretty printing and plotting utilities for topic hierarchies.

I also prepared the package for a new release encompassing fastopic as well.

Copy link
Collaborator

@KennethEnevoldsen KennethEnevoldsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a few comments. Nothing major. Should you add a test for hierarchical TM?

README.md Outdated Show resolved Hide resolved
turftopic/hierarchical.py Show resolved Hide resolved
@x-tabdeveloping
Copy link
Owner Author

Yeah adding a test is probably not a bad idea

@x-tabdeveloping x-tabdeveloping removed the request for review from jankounchained July 31, 2024 08:05
@x-tabdeveloping x-tabdeveloping merged commit eb7b00a into main Jul 31, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants