X-Git-Url: https://code.communitydata.science/cdsc_reddit.git/blobdiff_plain/811a0d87c4d394c2c7849a613f6aec2d81e49138..07b0dff9bc0dae2ab6f7fb7334007a5269a512ad:/clustering/validation.py diff --git a/clustering/validation.py b/clustering/validation.py new file mode 100644 index 0000000..c56b7b2 --- /dev/null +++ b/clustering/validation.py @@ -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.