[FLINK-1707] Add an Affinity Propagation Library Method

2016-08-20 Thread Josep Rubio
Hi All,

 

I’m working in [FLINK-1707] implementing Binary Affinity Propagation for Gelly, 
and I need to do a transformation from the input graph to the one to be used 
for the algorithm. 

 

The input graph is a similarity graph and the one for the implementation 
doubles the vertices as it needs two different types of vertex for each point 
to be clustered. Diagrams fo the origin and final graphs can be found in the 
design document 
(https://docs.google.com/document/d/1QULalzPqMVICi8jRVs3S0n39pell2ZVc7RNemz_SGA4/edit?usp=sharing)
 section 3.1.

 
I’ve done the transformation with gelly function groupReduceOnEdges to create 
the vertices and a loop to create the edges, and although it works it does not 
seem to be the best way to do it L. Could someone give me some tips on how to 
do this transformation?
 
Thanks in advance!
 

 



Re: [DISCUSS] Python API for Fllink libraries

2016-08-20 Thread Ivan Mushketyk
Hi Chesnay,

Thank you for you repply.
Out of curiosity, do you know why Python API reception was  *tumbleweed*?

Regarding the Python API, do you know what specifically should be done
there? I have some Python background so I was considering to contribute,
but I didn't find much tasks in the "Python" component:
https://issues.apache.org/jira/browse/FLINK-1926?jql=project%20%3D%20FLINK%20AND%20component%20%3D%20%22Python%20API%22%20AND%20resolution%20%3D%20Unresolved%20ORDER%20BY%20due%20ASC%2C%20priority%20DESC%2C%20created%20ASC

Best regards,
Ivan.


On Fri, 19 Aug 2016 at 22:45 Chesnay Schepler  wrote:

> Hello,
>
> I would say no, as the general reception of the Python API was
> *tumbleweed* so far.
>
> In my opinion this would just lead to a massive increase in code to
> maintain; we would need at least 2-3 active long-term python contributors.
> Especially so since ML, CEP and Table are afaik still in heavy development.
>
> If anything, before thinking about porting the libraries to python it
> would make more sense to implement a python streaming API.
> Or maybe /finish/ porting the DataSet API...
>
> Regards,
> Chesnay
>
> On 19.08.2016 22:07, Ivan Mushketyk wrote:
> > Hi Flink developers,
> >
> > It seems to me that Flink has two important "selling points":
> >
> > 1. It has Java, Scala and Python APIs
> > 2. I has a number of useful libraries (ML, Gelly, CEP, and Table)
> >
> > But as far as I understand, currently users cannot use any of these
> > libraries using a Python API. It seems to be a gap worth filling.
> >
> > What do you think about it? Does it make sense to add CEP/Gelly/ML/Table
> > Python APIs?
> >
> > Best regards,
> > Ivan.
> >
>
>