apclusterDemo
creates l
d
-dimensional
data points that are uniformly distributed in \([0,1]^d\). Affinity
propagation is executed for this data set with default parameters.
Alternative settings can be passed to apcluster
with
additional arguments. After completion of affinity propagation,
the results are shown and the performance measures are plotted.
This function corresponds to the demo function in the original
Matlab code of Frey and Dueck. We warn the user, however, that
uniformly distributed data are not necessarily ideal for demonstrating
clustering, as there can never be real clusters in uniformly
distributed data - all clusters found must be random artefacts.