example for affinity propagation