From user-return-9709-apmail-mahout-user-archive=mahout.apache.org@mahout.apache.org Sat Sep 3 01:27:08 2011 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 164F37AFF for ; Sat, 3 Sep 2011 01:27:08 +0000 (UTC) Received: (qmail 18677 invoked by uid 500); 3 Sep 2011 01:27:07 -0000 Delivered-To: apmail-mahout-user-archive@mahout.apache.org Received: (qmail 18629 invoked by uid 500); 3 Sep 2011 01:27:06 -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 18620 invoked by uid 99); 3 Sep 2011 01:27:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Sep 2011 01:27:05 +0000 X-ASF-Spam-Status: No, hits=1.6 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of weidezhang2007@gmail.com designates 209.85.218.42 as permitted sender) Received: from [209.85.218.42] (HELO mail-yi0-f42.google.com) (209.85.218.42) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Sep 2011 01:26:58 +0000 Received: by yie16 with SMTP id 16so4100583yie.1 for ; Fri, 02 Sep 2011 18:26:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=CTe6BwFeaR9x6ul4ap8NCzPXgk7YjZkP9/IkH7lCAow=; b=hvN4tV5l8NqYrxGi+YmpsdyvTYGmmoOWZL3zLbpGnqTkEml5xJSH8wyGL8DebW4n+/ JlBJhnLYSzFKK2mOuUcMpemL5H3s/WtjkdrEzeo1dDGWhP1Ew4dyCjW5DJedLjp2trWo 6lUsL2cz6WitAPHw/6Gnl6DsAFWqGMkOc1sQE= MIME-Version: 1.0 Received: by 10.151.46.17 with SMTP id y17mr1589582ybj.312.1315013197358; Fri, 02 Sep 2011 18:26:37 -0700 (PDT) Received: by 10.150.12.18 with HTTP; Fri, 2 Sep 2011 18:26:37 -0700 (PDT) Date: Fri, 2 Sep 2011 18:26:37 -0700 Message-ID: Subject: question on writing a customized item similiarity function From: Walter Chang To: user@mahout.apache.org Content-Type: multipart/alternative; boundary=0015174c373080e71904abff5ed6 X-Virus-Checked: Checked by ClamAV on apache.org --0015174c373080e71904abff5ed6 Content-Type: text/plain; charset=ISO-8859-1 Hi, If an item has both user rating and item specific contents(category, item description content) for example for product recommendation, how can i customize the similarity function ? As far as I understand, the current mahout similarity function is based on user rating only. Any one had experience writing a custom item based similarity function ? Thanks a lot, Weide --0015174c373080e71904abff5ed6--