mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <>
Subject [jira] Commented: (MAHOUT-545) GSON not a good fit for deserializing SGD models
Date Thu, 30 Dec 2010 04:03:45 GMT


Hudson commented on MAHOUT-545:

Integrated in Mahout-Quality #528 (See [])
    MAHOUT-545 - Big patch to support writable classifiers.

> GSON not a good fit for deserializing SGD models
> ------------------------------------------------
>                 Key: MAHOUT-545
>                 URL:
>             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.

View raw message