From 05c5ed9bd091db793db66ec8bca6612f008e6570 Mon Sep 17 00:00:00 2001 From: Kevin Reuning Date: Mon, 24 Jun 2024 09:02:49 -0400 Subject: [PATCH] Fixes to chain strategy example in outlier_reduction.md (#2065) --- docs/getting_started/outlier_reduction/outlier_reduction.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/getting_started/outlier_reduction/outlier_reduction.md b/docs/getting_started/outlier_reduction/outlier_reduction.md index fbb05d23..90a53bf5 100644 --- a/docs/getting_started/outlier_reduction/outlier_reduction.md +++ b/docs/getting_started/outlier_reduction/outlier_reduction.md @@ -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") ```