Skip to content

After reloading a model the representative docs are not available anymore #2046

Answered by MaartenGr
v1alina asked this question in Q&A
Discussion options

You must be logged in to vote

I believe that the representative documents are currently not saved for privacy reasons as they might contain sensitive data. Instead, I would advise saving them separately and then assigning them to topic_model.representative_docs_ when loading the model. Other than that, you can re-calculate the representative documents with _extract_representative_docs but do note that it is a private function which might change in future versions.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by v1alina
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants