Return-Path: X-Original-To: apmail-mahout-user-archive@www.apache.org Delivered-To: apmail-mahout-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 034F7CEA7 for ; Wed, 9 May 2012 15:19:34 +0000 (UTC) Received: (qmail 24347 invoked by uid 500); 9 May 2012 15:19:32 -0000 Delivered-To: apmail-mahout-user-archive@mahout.apache.org Received: (qmail 24287 invoked by uid 500); 9 May 2012 15:19:32 -0000 Mailing-List: contact user-help@mahout.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@mahout.apache.org Delivered-To: mailing list user@mahout.apache.org Received: (qmail 24277 invoked by uid 99); 9 May 2012 15:19:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 May 2012 15:19:32 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of whitepapers824@gmail.com designates 209.85.213.42 as permitted sender) Received: from [209.85.213.42] (HELO mail-yw0-f42.google.com) (209.85.213.42) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 May 2012 15:19:24 +0000 Received: by yhfq11 with SMTP id q11so869776yhf.1 for ; Wed, 09 May 2012 08:19:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=E9YiM0QFXfJpiBG13pc0oI0tS57A5dWtfXqrf/3ze1c=; b=MWkgpUK9IWdND1hOoJDo7hOqTxTgWbwaco16Exz2QgybU3LViwt2F+8kLzsPY1O+Ze WIbiet9cZluxBmiI4bmZzCVAwhUnW2fWkvS53n2MOSRP8UqmCIZo4VAbpqI4kpjhcrE7 f6h9zp2lmDof7Tm/FVONKDr5PmVNIFj7fD6x19HcFA6btzfIz4W5DDGrw8r7ZFKlxqlL evqWJgRNPs+JpNJWs8KG7/U0XvR3svFf3JZzQjwbBGCB6suUoSQP7MBU56v4Ero/TfO+ +PXoqVmohDT/pB2RN2BCc6RjdWe7Ym3XL/yZ9eswMLJglYTh1EuxsV84PWA3QF2o0oQe QwLQ== MIME-Version: 1.0 Received: by 10.60.18.197 with SMTP id y5mr594696oed.58.1336576743701; Wed, 09 May 2012 08:19:03 -0700 (PDT) Received: by 10.182.61.194 with HTTP; Wed, 9 May 2012 08:19:03 -0700 (PDT) In-Reply-To: References: Date: Wed, 9 May 2012 23:19:03 +0800 Message-ID: Subject: Re: From Item-based Recommender to User-based Recommender From: =?GB2312?B?t+vOsA==?= To: user@mahout.apache.org Content-Type: multipart/alternative; boundary=e89a8fb1f47605fccd04bf9c069c --e89a8fb1f47605fccd04bf9c069c Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable Sorry for my poor English. My question is like this: When I use "org.apache.mahout.cf.taste.hadoop.item.RecommenderJob", my input file is in the format: "uid, itemid, rating" "uid, itemid, rating" "uid, itemid, rating" According to the above input, org.apache.mahout.cf.taste.hadoop.item.RecommenderJob will give item-based recommendations. When I exchange the postions of uid and itemid, the input file would be "itemid, uid, rating" "itemid, uid, rating" "itemid, uid, rating" According to the above input, org.apache.mahout.cf.taste.hadoop.item.RecommenderJob would generate user-based recommendation. Is that right? 2012/5/9 Sean Owen > Both of these have been implemented since before Mahout. Can you clarify? > Don't understand at the moment. > On May 9, 2012 3:42 PM, "=B7=EB=CE=B0" wrote: > > > I found that only item-based recommender is implemented in version-0.6. > > When I want to use the user-based recommender, all I need to do is to > > transpose the input, i.e., ---> > rating>=A3=ACright? Is there any other differences between item-based a= nd > > user-based approach, which is not noticed by me? > > > > -- > > Wei Feng > > > --=20 Wei Feng --e89a8fb1f47605fccd04bf9c069c--