]> code.communitydata.science - cdsc_reddit.git/blobdiff - clustering/clustering.py
Refactor and reorganze.
[cdsc_reddit.git] / clustering / clustering.py
similarity index 98%
rename from clustering.py
rename to clustering/clustering.py
index 552d8ae62e47d4521c478f61f8676f20a1a75881..38af31c243cdfe1e3a648e8885047e8cee81ec6b 100644 (file)
@@ -16,6 +16,8 @@ def affinity_clustering(similarities, output, damping=0.5, max_iter=100000, conv
 
     preference = np.quantile(mat,preference_quantile)
 
+    print("data loaded")
+
     clustering = AffinityPropagation(damping=damping,
                                      max_iter=max_iter,
                                      convergence_iter=convergence_iter,

Community Data Science Collective || Want to submit a patch?