13
0
cdsc_reddit/clustering/validation.py

5 lines
225 B
Python
Raw Permalink Normal View History

2023-05-24 00:18:19 +00:00
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.