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

Dtm and topic models in a supervised setting #1

Open
nicolasdugue opened this issue Oct 25, 2023 · 0 comments
Open

Dtm and topic models in a supervised setting #1

nicolasdugue opened this issue Oct 25, 2023 · 0 comments

Comments

@nicolasdugue
Copy link

Hi,

The tmtoolkit package is great and I really enjoyed working on my corpus with it. However, I am now working in a supervised setting, I have a train corpus and a test corpus. Thus, I want to build my dtm model on my train corpus and then use the same vocabulary to get the dtm of my test corpus. Similarly, I would like to train my topic model on the train corpus, and then, use the topics uncovered to get the document-topic matrix of the test corpus.
Is there a way to do so on tmtoolkit ? Or is it planned in the future ? I did not find any way and thus used ad-hoc code.

Regards

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