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 5FBC5110D6 for ; Mon, 19 May 2014 13:55:38 +0000 (UTC) Received: (qmail 61803 invoked by uid 500); 19 May 2014 13:55:38 -0000 Delivered-To: apmail-hama-dev-archive@hama.apache.org Received: (qmail 61775 invoked by uid 500); 19 May 2014 13:55:38 -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 61766 invoked by uid 99); 19 May 2014 13:55:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 May 2014 13:55:38 +0000 Date: Mon, 19 May 2014 13:55:37 +0000 (UTC) From: "Martin Illecker (JIRA)" To: dev@hama.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HAMA-904) Fix Collaborative Filtering Example 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-904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Illecker updated HAMA-904: --------------------------------- Description: *Fix Collaborative Filtering Example and revise test case.* I had a deep look into the collaborative filtering example of Ikhtiyor Ahmedov \[1] and found the following questions / problems: - Why are user and item features broadcasted \[2] by each peer and not shared by a global input file on HDFS? (possible performance increase?) - Use o.a.h.c.u.KeyValuePair instead of commons.math3.util.Pair in UserSimilarity \[3] and ItemSimilarity \[4] - No need for normalizeWithBroadcastingValues \[5] when taskNum = 1 - Why are values sent to itself and received later? \[6] (possible performance increase?) - Why is every task saving all items? \[7] (duplicate saves?) - Why is the default ALPHA value 0.01 and not 0.001? \[8] (if (matrixRank > 250) -> Infinite / NaN) I hope Ikhtiyor Ahmedov will finally become a committer and helps us to solve these questions. Thanks! \[1] https://issues.apache.org/jira/browse/HAMA-612 \[2] https://github.com/apache/hama/blob/trunk/ml/src/main/java/org/apache/hama/ml/recommendation/cf/OnlineTrainBSP.java#L116-128 \[3] https://github.com/apache/hama/blob/trunk/ml/src/main/java/org/apache/hama/ml/recommendation/UserSimilarity.java#L22 \[4] https://github.com/apache/hama/blob/trunk/ml/src/main/java/org/apache/hama/ml/recommendation/ItemSimilarity.java#L22 \[5] https://github.com/apache/hama/blob/trunk/ml/src/main/java/org/apache/hama/ml/recommendation/cf/OnlineTrainBSP.java#L138 \[6] https://github.com/apache/hama/blob/trunk/ml/src/main/java/org/apache/hama/ml/recommendation/cf/OnlineTrainBSP.java#L323 \[7] https://github.com/apache/hama/blob/trunk/ml/src/main/java/org/apache/hama/ml/recommendation/cf/OnlineTrainBSP.java#L387-422 \[8] https://github.com/apache/hama/blob/trunk/ml/src/main/java/org/apache/hama/ml/recommendation/cf/function/MeanAbsError.java#L62 was: *Fix Collaborative Filtering Example and revise test case.* I had a deep look into the collaborative filtering example of Ikhtiyor Ahmedov \[1] and found the following questions / problems: - Why are user and item features broadcasted \[2] by each peer and not shared by a global input file on HDFS? (possible performance increase?) - Use o.a.h.c.u.KeyValuePair instead of commons.math3.util.Pair in UserSimilarity \[3] and ItemSimilarity \[4] - No need for normalizeWithBroadcastingValues \[5] when taskNum = 1 - Why are values sent to itself and received later? \[6] (possible performance increase?) - Why is every task saving all items? (duplicate saves?) - Why is the default ALPHA value 0.01 and not 0.001? (if (matrixRank > 250) -> Infinite / NaN) I hope Ikhtiyor Ahmedov will finally become a committer and helps us to solve these questions. Thanks! \[1] https://issues.apache.org/jira/browse/HAMA-612 \[2] https://github.com/apache/hama/blob/trunk/ml/src/main/java/org/apache/hama/ml/recommendation/cf/OnlineTrainBSP.java#L116-128 \[3] https://github.com/apache/hama/blob/trunk/ml/src/main/java/org/apache/hama/ml/recommendation/UserSimilarity.java#L22 \[4] https://github.com/apache/hama/blob/trunk/ml/src/main/java/org/apache/hama/ml/recommendation/ItemSimilarity.java#L22 \[5] https://github.com/apache/hama/blob/trunk/ml/src/main/java/org/apache/hama/ml/recommendation/cf/OnlineTrainBSP.java#L138 \[6] https://github.com/apache/hama/blob/trunk/ml/src/main/java/org/apache/hama/ml/recommendation/cf/OnlineTrainBSP.java#L323 > Fix Collaborative Filtering Example > ----------------------------------- > > Key: HAMA-904 > URL: https://issues.apache.org/jira/browse/HAMA-904 > Project: Hama > Issue Type: Bug > Components: examples, machine learning > Affects Versions: 0.6.4 > Reporter: Martin Illecker > Priority: Minor > Labels: collaborative-filtering, examples, machine_learning > Fix For: 0.7.0 > > > *Fix Collaborative Filtering Example and revise test case.* > I had a deep look into the collaborative filtering example of Ikhtiyor Ahmedov \[1] and found the following questions / problems: > - Why are user and item features broadcasted \[2] by each peer and not shared by a global input file on HDFS? (possible performance increase?) > - Use o.a.h.c.u.KeyValuePair instead of commons.math3.util.Pair in UserSimilarity \[3] and ItemSimilarity \[4] > - No need for normalizeWithBroadcastingValues \[5] when taskNum = 1 > - Why are values sent to itself and received later? \[6] (possible performance increase?) > - Why is every task saving all items? \[7] (duplicate saves?) > - Why is the default ALPHA value 0.01 and not 0.001? \[8] (if (matrixRank > 250) -> Infinite / NaN) > I hope Ikhtiyor Ahmedov will finally become a committer and helps us to solve these questions. > Thanks! > \[1] https://issues.apache.org/jira/browse/HAMA-612 > \[2] https://github.com/apache/hama/blob/trunk/ml/src/main/java/org/apache/hama/ml/recommendation/cf/OnlineTrainBSP.java#L116-128 > \[3] https://github.com/apache/hama/blob/trunk/ml/src/main/java/org/apache/hama/ml/recommendation/UserSimilarity.java#L22 > \[4] https://github.com/apache/hama/blob/trunk/ml/src/main/java/org/apache/hama/ml/recommendation/ItemSimilarity.java#L22 > \[5] https://github.com/apache/hama/blob/trunk/ml/src/main/java/org/apache/hama/ml/recommendation/cf/OnlineTrainBSP.java#L138 > \[6] https://github.com/apache/hama/blob/trunk/ml/src/main/java/org/apache/hama/ml/recommendation/cf/OnlineTrainBSP.java#L323 > \[7] https://github.com/apache/hama/blob/trunk/ml/src/main/java/org/apache/hama/ml/recommendation/cf/OnlineTrainBSP.java#L387-422 > \[8] https://github.com/apache/hama/blob/trunk/ml/src/main/java/org/apache/hama/ml/recommendation/cf/function/MeanAbsError.java#L62 -- This message was sent by Atlassian JIRA (v6.2#6252)