Skip to content
Discussion options

You must be logged in to vote

The functionality of .transform depends on whether you saved the model using pickle or using pytorch/safetensors. In the former, .transform uses the underlying cluster model, which will behave exactly as the cluster model you have chosen. The HDBSCAN model, for instance, does an approximation for instance. In the latter, it uses a different technique to get the predictions, namely by finding the cosine similarities between the document and topic embeddings.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by carobs9
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