Skip to content
Snippets Groups Projects
Commit 1f051d7f authored by Ribary, Marton Dr (School of Law)'s avatar Ribary, Marton Dr (School of Law)
Browse files

Updated linkage_for_clustering function

parent 82e7f59e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment