You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Ufuk Celebi (JIRA)" <ji...@apache.org> on 2014/07/10 11:38:04 UTC

[jira] [Resolved] (FLINK-103) KMeans example and outlier centers

     [ https://issues.apache.org/jira/browse/FLINK-103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ufuk Celebi resolved FLINK-103.
-------------------------------

    Resolution: Not a Problem

> KMeans example and outlier centers
> ----------------------------------
>
>                 Key: FLINK-103
>                 URL: https://issues.apache.org/jira/browse/FLINK-103
>             Project: Flink
>          Issue Type: Bug
>            Reporter: GitHub Import
>              Labels: github-import
>             Fix For: pre-apache
>
>
> Running the KMeansIterative example job I noticed the following:
> If one of the k centers has no point attached to it (after computing the point to center distances and assigning the nearest center to every point) the job output does not contain all k centers. I had the following centers file (generated by the sample data generator):
> ```
> 1|-34.15|-8.99|
> 2|18.65|47.05
> ```
> The resulting centers file contained only a single point `1|-20.66|-4.25|` when it should also contain the point `18.65, 47.05`, which wasn't reassigned during execution.
> I think this can only happen if the initial centers contain outliers.
> Even though this isn't terribly important I wanted to keep track of it. One possible solution would be to sample the points for initial centers instead of providing them by hand. Some kind of system support for data sampling might also be interesting in other cases. 
> ---------------- Imported from GitHub ----------------
> Url: https://github.com/stratosphere/stratosphere/issues/103
> Created by: [uce|https://github.com/uce]
> Labels: bug, documentation, 
> Created at: Wed Sep 18 18:31:14 CEST 2013
> State: open



--
This message was sent by Atlassian JIRA
(v6.2#6252)