Skip to content

Commit

Permalink
Fixes to chain strategy example in outlier_reduction.md (#2065)
Browse files Browse the repository at this point in the history
  • Loading branch information
reuning committed Jun 24, 2024
1 parent 70d7725 commit 05c5ed9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/getting_started/outlier_reduction/outlier_reduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,10 @@ outliers that are left since this method is typically much slower:

```python
# Use the "c-TF-IDF" strategy with a threshold
new_topics = topic_model.reduce_outliers(docs, new_topics , strategy="c-tf-idf", threshold=0.1)
new_topics = topic_model.reduce_outliers(docs, topics , strategy="c-tf-idf", threshold=0.1)

# Reduce all outliers that are left with the "distributions" strategy
new_topics = topic_model.reduce_outliers(docs, topics, strategy="distributions")
new_topics = topic_model.reduce_outliers(docs, new_topics, strategy="distributions")
```


Expand Down

0 comments on commit 05c5ed9

Please sign in to comment.