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 C3351D789 for ; Fri, 28 Sep 2012 10:21:45 +0000 (UTC) Received: (qmail 51067 invoked by uid 500); 28 Sep 2012 10:21:44 -0000 Delivered-To: apmail-mahout-user-archive@mahout.apache.org Received: (qmail 50282 invoked by uid 500); 28 Sep 2012 10:21:38 -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 50241 invoked by uid 99); 28 Sep 2012 10:21:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Sep 2012 10:21:36 +0000 X-ASF-Spam-Status: No, hits=0.2 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,RCVD_IN_DNSWL_NONE,SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [98.136.217.24] (HELO nm19-vm1.bullet.mail.gq1.yahoo.com) (98.136.217.24) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 28 Sep 2012 10:21:26 +0000 Received: from [98.137.12.189] by nm19.bullet.mail.gq1.yahoo.com with NNFMP; 28 Sep 2012 10:21:04 -0000 Received: from [208.71.42.214] by tm10.bullet.mail.gq1.yahoo.com with NNFMP; 28 Sep 2012 10:21:04 -0000 Received: from [127.0.0.1] by smtp225.mail.gq1.yahoo.com with NNFMP; 28 Sep 2012 10:21:04 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1348827664; bh=yh4H/j+M7OnKnA478JGv6ryMjunXbA+Sh5kg96jFX/g=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Mailer:Thread-Index:Content-Language; b=IgiiwBfHYuSRG/PZ1G0f3O4DLk6MpwqYzVLqsllaB75gYt99sUNlQevjapDRhVusPegsD5cbYyjkXTY7yU2Cjf1FMaZ7hc1Nj3UMi/CJbOOfDOsMPEWtA1Jr7xFbkMHw3WX+GrNJDb0o5/L8BUvNhcKe6omXlSILJ7Q1dSwrdbc= X-Yahoo-Newman-Id: 779793.46667.bm@smtp225.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: VakFryEVM1mQYPUfolWPRVKueHhXDZMuXI1RGiygByi28lP _zMjLpzd4JZJyYtqWI.SZf73bi7fUDJjJ.5IqHYVUiLJi8itE7.9jTH3H672 ZZBzcHgrab6LOBakCDaMKnhRrqwaUnbhuz76j0WdgwI_Go1aJz.iuPYazAeh kmBpWtPxeg2VMm2EwM07bKqV5OtQ2erbJbVGzpeKL9Pl7Q1CcHP9hcm._r8B 4Rh5sWPWr6pI2hCa2iI2XaxklrF41_uH0j1ORBUyfhxKRw0t6qCtEtsCeYK2 a35h6sRWmPTDO0YaNYFY4FXnhyJ186yOq.8gtjgDJBKmcle_YDRRP9d_NVrt k.g9BbMevkpR4OypJHTHDfsYB4a7zGzJGUnsQI.YB.WHVo0VIpz3D5MwXtsj 9rqBlI4DE8D1HUWf28A7irfA3uOvx6KocpbNDfV1aaIZFKtpUP8rvNOvBvHE hOfKDlJ3GenJS8BQAn5AkHYr_Oqjgt0nGFA-- X-Yahoo-SMTP: k2gD1GeswBAV_JFpZm8dmpTCwr4ufTKOyA-- Received: from sattelite (davidparks21@115.76.235.131 with login) by smtp225.mail.gq1.yahoo.com with SMTP; 28 Sep 2012 03:21:04 -0700 PDT From: "David Parks" To: Subject: User and Item based recommender questions - real time updates & weighting similar items Date: Fri, 28 Sep 2012 17:20:59 +0700 Message-ID: <0bbe01cd9d62$f66c2210$e3446630$@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: Ac2dYtUCqccDa3ZAQ6K8tZzJKBlenA== Content-Language: en-us I have two questions concerning User Based Recommenders and Item Based Recommenders: USER RECOMMENDER QUESTION: In a User Based Recommender (in production after the model is computed), I will receive a query for a User Based Recommendation that is based on newly generated User Preference Data. >From my study so far it seems like I should try TreeClusteringRecommender to start with, but how do I use the users most recent preference data to generate a result in real time (within a single web transaction)? I need to update the model in each query right? E.g. myTreeClusteringRecommender.refresh()? ITEM RECOMMENDER QUESTION: In an Item Based Recommender I can call recommender.mostSimilar(itemIDs) with a set of items that the user has expresses preference for (most recent preference data). Is there a way I can weight these preferences? For example a user might have already clicked on 2 items, and just looked at 3 others. If this is my itemIDs set, the first two should affect the recommendation more than the other 3.