Open josepius-clemson opened 1 year ago
have you found the solution?
Could you please tell me how to get the topic size and topic number of the reduced hierarchical model?
Hi did you manage to reduce the number of topics?
reduced: bool (Optional, default False)
The number of original topics will be returned by default. If True
will return the number of reduced topics, if hierarchical topic
reduction has been performed.
Returns
-------
num_topics: int
"""
if reduced:
self._validate_hierarchical_reduction()
return len(self.topic_vectors_reduced)
else:
return len(self.topic_vectors)`
i think just set reduced=True, and you can get topics after reduced and topic size is in same way. This Module store raw model and raw topics seperately.
Could you please tell me how to get the topic size and topic number of the reduced hierarchical model?