BERTopic
BERTopic copied to clipboard
transform function documentation's return is different to provided example
Documentation for the transform function states it returns only a "predictions" object, while the usage example returns both topics and probs objects:

topics are prdicted label and probs are probability.
Strange, the probabilities are mentioned in the documentation but it seems that for whatever reasons, MKDOCS does not generate the additional parameters in .transform(). Thank you for bringing up this issue and I'll put it on the roadmap!