]> code.communitydata.science - cdsc_reddit.git/blobdiff - clustering/validation.py
changes for archiving.
[cdsc_reddit.git] / clustering / validation.py
diff --git a/clustering/validation.py b/clustering/validation.py
new file mode 100644 (file)
index 0000000..c56b7b2
--- /dev/null
@@ -0,0 +1,4 @@
+from sklearn import metrics
+from sklearn.cluster import AffinityPropagation
+from functools import partial
+# sillouette is the only one that doesn't need the feature matrix. So it's probably the only one that's worth trying. 

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