Thanks Till, I misread the definition of knn. It’s knn JOIN. ☺
Dyslexia…

Regards,
Alex

On 1/26/17, 2:00 PM, "Till Rohrmann" <trohrm...@apache.org> wrote:

    Hi Alex,

    have you seen KNN's online documentation [1]? This should answer your
    questions.

    [1]
    
https://ci.apache.org/projects/flink/flink-docs-release-1.2/dev/libs/ml/knn.html

    Cheers,
    Till

    On Wed, Jan 25, 2017 at 2:23 PM, Alex De Castro <alex.decas...@lab49.com>
    wrote:

    > Hi flinkers,
    > I a new flink user and have been working on a pipeline from kafka to mongo
    > that processes documents and cluster them using inn for information
    > retrieval.
    >
    > I have a data set which is an array of sparse vectors, but I’m having a
    > bit of a hard time interpreting the output of the knn model:
    > flink is outputting a data set consisting of pairs (vector, 
array[vector])?
    >
    > 1. how can I fetch the cluster assigments?
    > 2. what does .setBlocks do?
    > 3. what is .sizeHint?
    >
    > Happy to contribute to wiki (adding more details) if someone can pitch in
    > with some hints.
    >
    > Thanks a lot,
    > Alex
    > --
    >
    >
    > This email and any attachments may contain information which is
    > confidential and/or privileged. The information is intended exclusively 
for
    > the addressee and the views expressed may not be official policy, but the
    > personal views of the originator. If you are not the intended recipient, 
be
    > aware that any disclosure, copying, distribution or use of the contents is
    > prohibited. If you have received this email and any file transmitted with
    > it in error, please notify the sender by telephone or return email
    > immediately and delete the material from your computer. Internet
    > communications are not secure and Lab49 is not responsible for their abuse
    > by third parties, nor for any alteration or corruption in transmission, 
nor
    > for any damage or loss caused by any virus or other defect. Lab49 accepts
    > no liability or responsibility arising out of or in any way connected to
    > this email.
    >


This email and any attachments may contain information which is confidential 
and/or privileged. The information is intended exclusively for the addressee 
and the views expressed may not be official policy, but the personal views of 
the originator. If you are not the intended recipient, be aware that any 
disclosure, copying, distribution or use of the contents is prohibited. If you 
have received this email and any file transmitted with it in error, please 
notify the sender by telephone or return email immediately and delete the 
material from your computer. Internet communications are not secure and Lab49 
is not responsible for their abuse by third parties, nor for any alteration or 
corruption in transmission, nor for any damage or loss caused by any virus or 
other defect. Lab49 accepts no liability or responsibility arising out of or in 
any way connected to this email.

Reply via email to