GitHub user joey001 opened a pull request:
https://github.com/apache/flink/pull/649
[FLINK-1707][WIP]Add an Affinity Propagation Library Method
I just finished the initial version of AP implementation and pass some
preliminary test. The input of the program include two files:
1 similarity graph : each line indicates the similarity between two
vertices. if <v1, v2, simi> exists, the user is obligatory to ensure the
existence of <v2,v1, simi>. I am considering validating the graph before run
the algorithm.
2 vertex preference: each line indicates the preference of each vertex.
The outputs format is : <vertexId, exemplarId>, indicating the id of the
vertex and the id of its exemplar.
In the value of each vertex, there is a hashmap storing all the
similarities, responsibilities,availabilities to all its neighbor vertex. There
are updated in the vertex centric iteration.
I still do some test and verification? Any advices?
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/joey001/flink ap_add
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/649.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #649
----
commit 240d6f68505bac25db90962dc510221badc4dba4
Author: joey001 <[email protected]>
Date: 2015-05-04T20:40:16Z
add init implementation of affinity appropagation
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---