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 AA0AD10C18 for ; Sun, 29 Sep 2013 18:25:01 +0000 (UTC) Received: (qmail 3860 invoked by uid 500); 29 Sep 2013 18:24:59 -0000 Delivered-To: apmail-mahout-user-archive@mahout.apache.org Received: (qmail 3764 invoked by uid 500); 29 Sep 2013 18:24:58 -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 3756 invoked by uid 99); 29 Sep 2013 18:24:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Sep 2013 18:24:58 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of deepak.subhramanian@gmail.com designates 209.85.128.53 as permitted sender) Received: from [209.85.128.53] (HELO mail-qe0-f53.google.com) (209.85.128.53) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Sep 2013 18:24:54 +0000 Received: by mail-qe0-f53.google.com with SMTP id jy17so3113536qeb.40 for ; Sun, 29 Sep 2013 11:24:33 -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=acriOQ5amVs5oxDDrS3LWzL79vAOdyCL/PzeDfGRbfs=; b=gx/TRhGwRokiwvWr548BFbEna+LPcSN56bsPDIRupTFqI0NhXf+pBuRbWRlMKrrdvX 3lF2bfUknM9qkMHuf1CSyjIimYs3U6XRtYqCANgSdSr1tZX6uuLGq9EljwYmkFQnaNVn YkfZMWQauYu6BXE6KaMbBE7f4VRSt3bgrQZV136yADCpcJTrgNwOTuNoeJfe3JVoLhov 8wmqtt5M4suq5Q9WENEI/bVhIbeKryDlhcjuRFK03eVXaiEXgx9+yDidTHKN0aoyx9GU WQ849z3jY7m9kix3ZKe1CA9atn5+3mM3etJAxYo1OulgAkbaVyJEg7U2GMCTRrq8aI1P HOVg== MIME-Version: 1.0 X-Received: by 10.229.101.136 with SMTP id c8mr23634259qco.17.1380479073268; Sun, 29 Sep 2013 11:24:33 -0700 (PDT) Received: by 10.49.134.74 with HTTP; Sun, 29 Sep 2013 11:24:33 -0700 (PDT) In-Reply-To: <2F199FEA-7999-4681-B888-61BB3FF7D6B2@pssd.com> References: <4837E186-9150-4DFC-88F1-FE1A8D8DB2E5@pssd.com> <2F199FEA-7999-4681-B888-61BB3FF7D6B2@pssd.com> Date: Sun, 29 Sep 2013 19:24:33 +0100 Message-ID: Subject: Re: Getting rating for all the files From: Deepak Subhramanian To: user@mahout.apache.org Content-Type: multipart/alternative; boundary=001a11c3facec8398d04e789d4d1 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c3facec8398d04e789d4d1 Content-Type: text/plain; charset=ISO-8859-1 Thanks Nick. I am planning to give a try with userbasedrecommendation since there are low no of users. I dont see recommenduserbased option in the commandline utility for Mahout. Does that mean I have to write a Java Program to use the UserBasedRecommender ? On Sun, Sep 29, 2013 at 7:22 PM, Martin, Nick wrote: > I'l need to defer to one of the other math whizzes on the potential > reasons for recommendations for certain users not appearing. My suspicion > is that you would either not have sufficient co-occurrence of specific > users/items to support a recommendation or you may need to experiment with > a different similarity measure. > > Anyone else want to weigh in? > > > > Sent from my iPhone > > On Sep 29, 2013, at 1:14 PM, "Deepak Subhramanian" < > deepak.subhramanian@gmail.com> wrote: > > > Sorry . My mistake . I am getting the lower ratings for some of the users > > and items. But my issue is not solved . I am not getting ratings for some > > of the users and some of the ratings. > > > > My userFile has 8000 users and my itemsFile has 4000 Items . But I get > > recommendations for only 5000 users and 1500 items. And the maximum no > of > > recommendations given is 258. What can be the reasons that there is no > > items recommendations for 3000 users and 2500 items. Is it because there > is > > no similarities exist between those users and items ? > > > > > > On Sun, Sep 29, 2013 at 4:46 PM, Deepak Subhramanian < > > deepak.subhramanian@gmail.com> wrote: > > > >> Thanks Nick. As I mentioned earleir I am getting ratings only for the > top > >> recommended products instead of ratings for 4000 products I am giving > >> numRecommendations parameter to 4000 and maxPrefsPerUser to 4000. > Should > >> it give 4000 items in the list for each user ? For some reasons the > >> output for items which are having lower ratings is not displayed. I see > >> the default limit is 10. > >> > >> I am not sure if I am not getting ratings for 4000 items because I am > >> passing the wrong options for the mahout version or is it an issue with > >> mahout ver 0.7. I am using 0.7 -mahout-examples-0.7-cdh4.3.1.jar . > >> > >> I see the parameter name changed in the latest version I checked from > git > >> - 0.9-SNAPSHOT > >> > >> maxPrefsPerUserConsidered = > jobConf.getInt(MAX_PREFS_PER_USER_CONSIDERED, > >> DEFAULT_MAX_PREFS_PER_USER_CONSIDERED); > >> > >> Will using a latest version help ? > >> > >> > >> > >> > >> > >> On Sun, Sep 29, 2013 at 12:29 PM, Martin, Nick > wrote: > >> > >>> There should be a score after each recommended item (i.e. 123456:2.6) > in > >>> your output. Lower scores would be the ones you're interested in. > >>> > >>> Sent from my iPhone > >>> > >>> On Sep 28, 2013, at 8:25 AM, "Deepak Subhramanian" < > >>> deepak.subhramanian@gmail.com> wrote: > >>> > >>>> Hi > >>>> > >>>> I am trying to predict the ratings for some items for some users using > >>> item > >>>> based collaborative filtering. I tried using the mahout > >>> recommenditembased > >>>> , but it shows only the top 10 items or I can increase it by passing > the > >>>> --numRecommendations parameter. But it doesnt shows items which has > >>> lower > >>>> predicted rating . What is the best approach to get ratings for items > >>> which > >>>> has low predicted rating ? > >>>> > >>>> > >>>> I tried this command. > >>>> > >>>> mahout recommenditembased --input mahoutrecoinput --usersFile > >>>> recouserlist --itemsFile recoitemlist --output > >>>> /mahoutrecooutputpearsonnew -s SIMILARITY_PEARSON_CORRELATION > >>>> --numRecommendations 4000 --maxPrefsPerUser 4000 > >>>> > >>>> Also I tried using the estimatePreference method on the recommender. > >>>> > >>>> Please help . > >> > >> > >> > >> -- > >> Deepak Subhramanian > > > > > > > > -- > > Deepak Subhramanian > -- Deepak Subhramanian --001a11c3facec8398d04e789d4d1--