[
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.