Hi everyone,

I am using agglomerative clustering with an L1 distance matrix as input and
the "complete" linkage option.

I want to impose an additional constraint. When 2 clusters are combined and
the cost of combination is equal for multiple cluster pairs, I want to
choose the pair for which the combined cluster has the least size.

What is the cleanest and easiest way of achieving this?

Thanks,
Jitesh
_______________________________________________
scikit-learn mailing list
scikit-learn@python.org
https://mail.python.org/mailman/listinfo/scikit-learn

Reply via email to