..
    The empty line below should not be removed. It is added such that the `rst_prolog`
    is added before the :mod: directive. Otherwise, the rendering will show as a
    paragraph instead of a header.

:mod:`sklearn.cluster`.affinity_propagation
========================================================

.. currentmodule:: sklearn.cluster

.. autofunction:: affinity_propagation

.. include:: sklearn.cluster.affinity_propagation.examples

.. raw:: html

    <div class="clearer"></div>