Machine Learning, Clustering, Affinity Propagation, Python, Unsupervised Learning.
This helps to avoid numerical oscillations when updating the messages. max_iter is the maximum number of iterations. convergence_iter is the number of iterations with no change in the number of estimated clusters that stops the convergence. If the cluster assignments remain unchanged for this many