fsysean

Results comments of fsysean

> ```python > new_topics = list(np.argmax(probs, axis=1)[1:]) > ``` # Map each document to a non-outlier topic new_topics = list(np.argmax(probs, axis=1)[0:]) Should it start from 0?

mask = reviews['title'].str.len() >=1 reviews= reviews.loc[mask] reviews['title'] = reviews['title'].astype('str')

> You can calculate performance metrics but how you calculate them highly depends on the performance metric itself. There are many variations, from clustering metrics to topic coherence metrics. >...

Of course the more calculation methods the better, or you can give me an example or a link, maybe next I will know how to calculate the rest

topics are prdicted label and probs are probability.

> The representative documents are based on HDBSCAN's exemplar points. Essentially, those are points that best represent a density-based cluster. You can find a bit more about that [here](https://hdbscan.readthedocs.io/en/latest/soft_clustering_explanation.html#distance-based-membership). I...

> @fsysean Could you share your full code for running this? This seems to be working for me and a reproducible example would help greatly in understanding where things might...

In your function, you has a code `clusters = sorted(condensed_tree._select_clusters())` and in the following topic loop, you has a code `leaves = hdbscan.plots._recurse_leaf_dfs(cluster_tree, clusters[topic])` Then, I have a question. Does...

> @fsysean After some testing it seems to be related to the `cluster_selection_epsilon` that you set in your custom HDBSCAN model. Removing that parameter in its entirety resolves the issue....

> Typically, the visualization function `.visualize_topics()` should not show the -1 topic if you are using the most recent version of BERTopic, v0.10. Which version of BERTopic are you using?...