Skip to content

Commit

Permalink
Fix 264. Incorrect affinity parameter (#265)
Browse files Browse the repository at this point in the history
Fix #264. Scikit-learn is not expecting anymore the "affinity parameter"

Signed-off-by: Miguel Martínez <[email protected]>
  • Loading branch information
miguelusque authored Sep 25, 2024
1 parent eb2225b commit 10aaa8a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tutorials/synthetic-retrieval-evaluation/DeDup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ def clustering(self, embeddings, threshold=0.075):

agg_clustering = AgglomerativeClustering(
n_clusters=None,
affinity="precomputed",
linkage="complete",
distance_threshold=threshold,
)
Expand Down

0 comments on commit 10aaa8a

Please sign in to comment.