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 990E910A97 for ; Wed, 4 Sep 2013 19:30:31 +0000 (UTC) Received: (qmail 60624 invoked by uid 500); 4 Sep 2013 19:30:29 -0000 Delivered-To: apmail-mahout-user-archive@mahout.apache.org Received: (qmail 60597 invoked by uid 500); 4 Sep 2013 19:30:29 -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 60564 invoked by uid 99); 4 Sep 2013 19:30:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Sep 2013 19:30:24 +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 (nike.apache.org: domain of koobas@gmail.com designates 209.85.128.174 as permitted sender) Received: from [209.85.128.174] (HELO mail-ve0-f174.google.com) (209.85.128.174) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Sep 2013 19:30:17 +0000 Received: by mail-ve0-f174.google.com with SMTP id d10so507175vea.33 for ; Wed, 04 Sep 2013 12:29:56 -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=CqEPHH/LiePJ/HGi7s12U35h8G4mFHvdhRFy8RTguhY=; b=KiUAu6/90KU69oQd0G5q5lBvHhYbuRNryjM6kIVr7e+eqW/aFtqWKNl6/0tm0/LEwc wESMJjgdTRB/zMdJMai5/w5OWRVsy3afVjxPhnNprC5pb9Hggf+jLFHtkQDADVwBP4V4 YrV1WuVJnaXPBSuitOLA6mZh/TnXRBTe8pUBJRTcxuf0lrSNg1OwBPQaQMTXLVQnkGTC 9h+3+PpTw0U3idNtCdn6FmAB3ektMyFh+xHS5Yf8AirgwSjWWaoEQyvwn/4FeV8sgMEI Y4ZPzq2Nz8OlghtAlkpDmbO4AKD5+ItGYgiPaW2kiXjva300VeoWrAQPTdU+TP44jbSw 1gfg== MIME-Version: 1.0 X-Received: by 10.221.47.193 with SMTP id ut1mr3210821vcb.8.1378322996740; Wed, 04 Sep 2013 12:29:56 -0700 (PDT) Received: by 10.220.70.203 with HTTP; Wed, 4 Sep 2013 12:29:56 -0700 (PDT) In-Reply-To: References: Date: Wed, 4 Sep 2013 15:29:56 -0400 Message-ID: Subject: Re: ALS and SVD feature vectors From: Koobas To: user@mahout.apache.org Content-Type: multipart/alternative; boundary=001a113392ec9b4a5104e593d420 X-Virus-Checked: Checked by ClamAV on apache.org --001a113392ec9b4a5104e593d420 Content-Type: text/plain; charset=ISO-8859-1 On Wed, Sep 4, 2013 at 3:06 PM, Sean Owen wrote: > The feature vectors? rows of X and Y? no, they definitely should not be > normalized. It will change the approximation you so carefully built quite a > lot. > > As you say U and V are orthornormal in the SVD. But you still multiply all > of them together with Sigma when making recs. (Or you embed Sigma in U and > V.) So yes the singular values are used; they give proper weights to > features. > > You can think of X and Y as being like that, with Sigma mixed in in some > arbitrary way. Normalizing it would not be valid. > > Excellent! Straight to the point. That's the answer I was looking for. Also, thanks to Ted. He pretty much said the same thing. > > On Wed, Sep 4, 2013 at 6:07 PM, Koobas wrote: > > > In ALS the coincidence matrix is approximated by XY', > > where X is user-feature, Y is item-feature. > > Now, here is the question: > > are/should the feature vectors be normalized before computing > > recommendations? > > > > Now, what happens in the case of SVD? > > The vectors are normal by definition. > > Are singular values used at all, or just left and right singular vectors? > > > --001a113392ec9b4a5104e593d420--