Return-Path: X-Original-To: apmail-hama-dev-archive@www.apache.org Delivered-To: apmail-hama-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1CA26106DF for ; Tue, 26 Nov 2013 05:18:38 +0000 (UTC) Received: (qmail 76239 invoked by uid 500); 26 Nov 2013 05:18:36 -0000 Delivered-To: apmail-hama-dev-archive@hama.apache.org Received: (qmail 76207 invoked by uid 500); 26 Nov 2013 05:18:36 -0000 Mailing-List: contact dev-help@hama.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hama.apache.org Delivered-To: mailing list dev@hama.apache.org Received: (qmail 76185 invoked by uid 99); 26 Nov 2013 05:18:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Nov 2013 05:18:35 +0000 Date: Tue, 26 Nov 2013 05:18:35 +0000 (UTC) From: "Edward J. Yoon (JIRA)" To: dev@hama.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HAMA-821) K-Means writes only k records as a output MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HAMA-821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13832326#comment-13832326 ] Edward J. Yoon commented on HAMA-821: ------------------------------------- Here's a documentation explaining 'how to run KMeans example' in 5 minutes - http://people.apache.org/~edwardyoon/kmeans.html > K-Means writes only k records as a output > ----------------------------------------- > > Key: HAMA-821 > URL: https://issues.apache.org/jira/browse/HAMA-821 > Project: Hama > Issue Type: Bug > Components: machine learning > Reporter: Edward J. Yoon > Assignee: Edward J. Yoon > Fix For: 0.7.0 > > Attachments: HAMA-821.patch > > > KMeans writes only k records, because 276 line at KMeansBSP overwrites the value for the key. I'm sure it was not intended.. > And, many people ask me about meaning of input and output of KMeans. We need to make K-Means example output lines more readable like, > {code} > 13/11/25 17:34:04 INFO kmeans.KMeansBSP: Finished! Writing the results... > [5.1, 3.5, 1.4, 0.2] belongs to cluster 2 > [4.9, 3.0, 1.4, 0.2] belongs to cluster 2 > [4.7, 3.2, 1.3, 0.2] belongs to cluster 2 > [4.6, 3.1, 1.5, 0.2] belongs to cluster 2 > [5.0, 3.6, 1.4, 0.2] belongs to cluster 2 > .... > {code} -- This message was sent by Atlassian JIRA (v6.1#6144)