13
0
cdsc_reddit/clustering/validation.py

5 lines
225 B
Python

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.