From 1f051d7f91fa726f78df86f81b479caeda41e9b9 Mon Sep 17 00:00:00 2001
From: mribary <m.ribary@surrey.ac.uk>
Date: Wed, 22 Apr 2020 18:26:30 +0100
Subject: [PATCH] Updated linkage_for_clustering function

---
 pyDigest.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyDigest.py b/pyDigest.py
index 9631d21..884b8df 100644
--- a/pyDigest.py
+++ b/pyDigest.py
@@ -62,7 +62,7 @@ def similar_sections(id, size=10):
     print("%r" %title)
     return similar_df_id
 
-def linkage_for_clustering(X, threshold=0.5):
+def linkage_for_clustering(X, threshold=0):
     ''' The function takes a matrix X with observations stored in rows and features stored in columns.
     It returns a dataframe with linkage combinations of method and metric used for hierarchical
     clustering sorted by reverse order based on the absolute value of the cophenetic correlation
-- 
GitLab