Return-Path: Delivered-To: apmail-mahout-dev-archive@www.apache.org Received: (qmail 77577 invoked from network); 30 Dec 2010 04:04:10 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Dec 2010 04:04:10 -0000 Received: (qmail 81186 invoked by uid 500); 30 Dec 2010 04:04:10 -0000 Delivered-To: apmail-mahout-dev-archive@mahout.apache.org Received: (qmail 80916 invoked by uid 500); 30 Dec 2010 04:04:07 -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 80907 invoked by uid 99); 30 Dec 2010 04:04:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Dec 2010 04:04:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Dec 2010 04:04:06 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oBU43jvt024110 for ; Thu, 30 Dec 2010 04:03:46 GMT Message-ID: <3011768.67511293681825752.JavaMail.jira@thor> Date: Wed, 29 Dec 2010 23:03:45 -0500 (EST) From: "Hudson (JIRA)" To: dev@mahout.apache.org Subject: [jira] Commented: (MAHOUT-545) GSON not a good fit for deserializing SGD models In-Reply-To: <9197360.84031289835134922.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MAHOUT-545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12975962#action_12975962 ] Hudson commented on MAHOUT-545: ------------------------------- Integrated in Mahout-Quality #528 (See [https://hudson.apache.org/hudson/job/Mahout-Quality/528/]) MAHOUT-545 - Big patch to support writable classifiers. > GSON not a good fit for deserializing SGD models > ------------------------------------------------ > > Key: MAHOUT-545 > URL: https://issues.apache.org/jira/browse/MAHOUT-545 > Project: Mahout > Issue Type: Bug > Components: Classification > Affects Versions: 0.4 > Reporter: Ted Dunning > Fix For: 0.5 > > > The problem is that GSON uses JavaCC which does LL(k) parsing. The way that the JSON grammar is expressed causes stack recursion for each element of > a vector. > This is evil for parsing large models. > I will be changing ModelSerializer to fix this and will provide a reverse compatible mode for anybody who has been able to serialize/deserialize these models in the past. My thought is to just make all the SGD models Writables. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.