# APclustering **Repository Path**: lsjr/APclustering ## Basic Information - **Project Name**: APclustering - **Description**: Affinity Propagation Clustering using sklearn. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2020-09-18 - **Last Updated**: 2021-07-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Affinity Propagation Clustering ## Introduction Realization on affinity propagation (AP) clustering. Codes are as follows. - `sklearn_apply/plot_affinity_propagation.py` : an official tutorial. - `sklearn_apply/AP_feed_data.py` : My realization using sklearn API, with raw data fed. - `sklearn_apply/AP_feed_similarity.py` : My realization using sklearn API, with similarity matrix fed. ## Result ## Reference: - Brendan J. Frey and Delbert Dueck, "Clustering by Passing Messages Between Data Points", Science Feb. 2007 - [Demo of affinity propagation clustering algorithm](http://scikit-learn.org/stable/auto_examples/cluster/plot_affinity_propagation.html#sphx-glr-auto-examples-cluster-plot-affinity-propagation-py) - [sklearn.cluster.AffinityPropagation](http://scikit-learn.org/stable/modules/generated/sklearn.cluster.AffinityPropagation.html)