Return-Path: X-Original-To: apmail-mahout-dev-archive@www.apache.org Delivered-To: apmail-mahout-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D901810726 for ; Wed, 31 Jul 2013 23:46:43 +0000 (UTC) Received: (qmail 20735 invoked by uid 500); 31 Jul 2013 23:46:43 -0000 Delivered-To: apmail-mahout-dev-archive@mahout.apache.org Received: (qmail 20674 invoked by uid 500); 31 Jul 2013 23:46:43 -0000 Mailing-List: contact dev-help@mahout.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mahout.apache.org Delivered-To: mailing list dev@mahout.apache.org Received: (qmail 20666 invoked by uid 99); 31 Jul 2013 23:46:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Jul 2013 23:46:43 +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 ted.dunning@gmail.com designates 209.85.219.51 as permitted sender) Received: from [209.85.219.51] (HELO mail-oa0-f51.google.com) (209.85.219.51) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Jul 2013 23:46:38 +0000 Received: by mail-oa0-f51.google.com with SMTP id h2so2959809oag.10 for ; Wed, 31 Jul 2013 16:46:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=P6ywGO5XndYO4/FIOvVvmv7dX5An4H+riSa6XMEZCHs=; b=SxcIATEahR/WP2LW6HqUFPNpv8cNiBCNAV5N8jHsIiWgZ4/z5hPKQZqFOundqSyll0 zIH7AL0acuYkKLQVdBYfZ0KOUWvbp5fPoFlU8MLZ8Yq3WVklNTsrrlOy9btwFKlPIfxk MWZZwecUAxF4cDYl7jXCvdz9uAQEW4DbH2xZWphoKUuo9ZKNCtcFflLApsUdzQLikmWI xfCMiqL/qO4DBxH9koN8vtOCGid8L2qfotqAB+nDwXc3LrK/X7YxvMkQI3Oqnv7R8J1B Ji7tjLeKbS+g/6EOaiOaxYXwZFjfNIteBCx61qWKjus1lQ8flWSv/xaFQ3j2TcYuK5PL 9Nrw== X-Received: by 10.43.145.69 with SMTP id jt5mr22371565icc.65.1375314378253; Wed, 31 Jul 2013 16:46:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.129.200 with HTTP; Wed, 31 Jul 2013 16:45:47 -0700 (PDT) In-Reply-To: <147004206.496006.1375311803417.JavaMail.root@stanford.edu> References: <20130731225749.2609.72663@reviews.apache.org> <147004206.496006.1375311803417.JavaMail.root@stanford.edu> From: Ted Dunning Date: Wed, 31 Jul 2013 16:45:47 -0700 Message-ID: Subject: Re: Review Request 13172: #MAHOUT-1273: Single Pass Algorithm for Penalized Linear Regression with Cross Validation on MapReduce To: Mahout Dev List Cc: Sebastian Schelter Content-Type: multipart/alternative; boundary=001a11c30312f86fc704e2d754d9 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c30312f86fc704e2d754d9 Content-Type: text/plain; charset=UTF-8 Sorry, I just read those documents. They describe how to solve an unpenalized problem, not the penalized version. Those are where I copied that magical step from. On Wed, Jul 31, 2013 at 4:03 PM, Kun Yang wrote: > Thanks for your feedback. > > Besides the code, I have also upload the details of the algorithm in the > project page. Please take a look. > > I attached the documents in the email as well. > > Best > > ----- Original Message ----- > From: "Ted Dunning" > To: "Sebastian Schelter" , "Ted Dunning" < > tdunning@apache.org> > Cc: "Kun Yang" , "mahout" > Sent: Wednesday, July 31, 2013 3:57:49 PM > Subject: Re: Review Request 13172: #MAHOUT-1273: Single Pass Algorithm for > Penalized Linear Regression with Cross Validation on MapReduce > > > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/13172/ > In the paper associated with this code, there is the following magical step > > 19: train the model (2) with train data and calculate the mean > squared prediction error pi for test data > > Until I see a specification of what this algorithm is supposed to be > doing, I don't see the point in reviewing the code. > > > - Ted Dunning > > > On July 31st, 2013, 10:56 p.m. UTC, Kun Yang wrote: > Review request for mahout, Sebastian Schelter and Ted Dunning. > By Kun Yang. > > Updated July 31, 2013, 10:56 p.m. > Repository: mahout-git Description > Single-Pass Penalized Linear Regression with Cross Validation on > MapReduce > > For details, please go through the documentation. Testing > Units tests for the classes Diffs > > > * > core/src/main/java/org/apache/mahout/regression/penalizedlinear/PenalizedLinearConstants.java > (PRE-CREATION) > * > core/src/main/java/org/apache/mahout/regression/penalizedlinear/PenalizedLinearDriver.java > (PRE-CREATION) > * > core/src/main/java/org/apache/mahout/regression/penalizedlinear/PenalizedLinearKeySet.java > (PRE-CREATION) > * > core/src/main/java/org/apache/mahout/regression/penalizedlinear/PenalizedLinearMapper.java > (PRE-CREATION) > * > core/src/main/java/org/apache/mahout/regression/penalizedlinear/PenalizedLinearReducer.java > (PRE-CREATION) > * > core/src/main/java/org/apache/mahout/regression/penalizedlinear/PenalizedLinearSolver.java > (PRE-CREATION) > * > core/src/test/java/org/apache/mahout/regression/penalizedlinear/PenalizedLinearTest.java > (PRE-CREATION) > * > examples/src/main/java/org/apache/mahout/regression/penalizedlinear/Job.java > (PRE-CREATION) > * > examples/src/main/java/org/apache/mahout/regression/penalizedlinear/LinearCrossValidation.java > (PRE-CREATION) > * > examples/src/main/java/org/apache/mahout/regression/penalizedlinear/LinearRegularizePath.java > (PRE-CREATION) > * examples/src/main/resources/prostate.txt (PRE-CREATION) > * > examples/src/test/java/org/apache/mahout/regression/penalizedlinear/PenalizedLinearExampleTest.java > (PRE-CREATION) > * > integration/src/main/java/org/apache/mahout/regression/feature/extractor/FeatureExtractUtility.java > (PRE-CREATION) > * > integration/src/main/java/org/apache/mahout/regression/feature/extractor/FeatureExtractorKeySet.java > (PRE-CREATION) > * > integration/src/main/java/org/apache/mahout/regression/feature/extractor/FeatureExtractorMapper.java > (PRE-CREATION) > * > integration/src/test/java/org/apache/mahout/regression/feature/extractor/FeatureExtractorTest.java > (PRE-CREATION) > > > View Diff --001a11c30312f86fc704e2d754d9--