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 A1AD299BC for ; Wed, 4 Jul 2012 14:04:21 +0000 (UTC) Received: (qmail 46011 invoked by uid 500); 4 Jul 2012 14:04:20 -0000 Delivered-To: apmail-mahout-user-archive@mahout.apache.org Received: (qmail 45961 invoked by uid 500); 4 Jul 2012 14:04:20 -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 45943 invoked by uid 99); 4 Jul 2012 14:04:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jul 2012 14:04:19 +0000 X-ASF-Spam-Status: No, hits=-0.5 required=5.0 tests=FSL_RCVD_USER,MARKETING_PARTNERS,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of srowen@gmail.com designates 209.85.213.170 as permitted sender) Received: from [209.85.213.170] (HELO mail-yx0-f170.google.com) (209.85.213.170) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jul 2012 14:04:13 +0000 Received: by yenl12 with SMTP id l12so12118717yen.1 for ; Wed, 04 Jul 2012 07:03:52 -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=UfJF3PjytwzSjAnpKvX52tRU0FrPmAt7LUDC32NLoDg=; b=s7dw1X7SGX+Xk6WkjszWxLp8kbwShr6JcyK6bTEyJjGSt5RAbJBzEm8plPJonqQIBR ZCHlGOVzzjzYHXbtWyQ9diGVcbaHOH1TFaByOj4N7QH4lHjfonjiZ2ZOaRR/vFiqvjAB 2VhCmY/pjqizekOVvvVohGpZFQPJYFwFz8XqeLrgpy6hYnPpsOcgIkFPJckbOupUmzRD 0ACcs41+xqKiXDKlLt9BpuvytrFGYnE831UKN+ELoLkyQR0uQE8R3DolkRT2P3pRTUQ8 wkOrHK2vMVjqDeil0yyRmrVO5Vy8tQ0kOX4/WXTRGMlmpCtpVlfOYB9nsCbiM7cNtr4b n12Q== MIME-Version: 1.0 Received: by 10.43.85.69 with SMTP id an5mr11265301icc.37.1341410632475; Wed, 04 Jul 2012 07:03:52 -0700 (PDT) Received: by 10.50.30.198 with HTTP; Wed, 4 Jul 2012 07:03:52 -0700 (PDT) In-Reply-To: References: Date: Wed, 4 Jul 2012 17:03:52 +0300 Message-ID: Subject: Re: recommendations for new users From: Sean Owen To: user@mahout.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Have a look at the PlusAnonymousUserDataModel, which is a bit of a hack but a decent sort of solution for this case. It lets you temporarily add a user to the system and then everything else works as normal, so you can make recommendations to these new / temp users. There isn't a way to inject anything but rating/pref information directly, no. You can use this info in a Rescorer to influence recommendations; this is not specific to the case of a new user. You can also decide to make "recommendations" by a completely different means for new users -- for example, some canned list of top-10 recs that is appropriate for their city or referring site. That's legitimate too in practice. Yes you can also find most-similar users based on this info. You'd have to write the similarity metric yourself. I assume this is also not the metric you use in your real recommender. So maybe you could use it to find the nearest 1 real user and sub in those recommendations? or a neighborhood. You would have to rewrite a bit of what a recommender does to go this way but it's not so hard. No there is no content-based similarity metric; this is so domain specific. On Wed, Jul 4, 2012 at 4:54 PM, Matt Mitchell wrote: > Hi, > > Slowly prototyping a recommendation here. The system does not have > user accounts. Since the users on the system don't have accounts, I'm > struggling a bit with completely new users, and what to recommend > them. I do have information about the user, like what referring site > they came from (1 of n partner sites), the city they want to shop in, > and rating value of the product. I wonder if I could use this > information, to find the most similar existing user. Then use that > most similar user to generate recommendations? Anyone have tips for > dealing this this? > > I'm not sure if Mahout supports finding most "similar user" based on > user attributes, if not, this should be a simple sql/where-like select > from the database. > > - Matt