mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Eastman (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MAHOUT-337) Don't serialize cached length squared in JSON vector representation
Date Mon, 15 Mar 2010 19:39:27 GMT

    [ https://issues.apache.org/jira/browse/MAHOUT-337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12845477#action_12845477
] 

Jeff Eastman commented on MAHOUT-337:
-------------------------------------

I'd suggest making Vector implement Printable and deprecating Vector.asFormatString() and
its current (Json) implementation. The Printable.asJsonString() provides the Json textual
encoding which is complete and which can be used for stateful vector I/O from a more human-readable
asFormatString(bindings) encoding which only needs to include the element values. 


> Don't serialize cached length squared in JSON vector representation
> -------------------------------------------------------------------
>
>                 Key: MAHOUT-337
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-337
>             Project: Mahout
>          Issue Type: Bug
>          Components: Math
>    Affects Versions: 0.3
>            Reporter: Sean Owen
>            Assignee: Sean Owen
>            Priority: Minor
>             Fix For: 0.4
>
>
> The cached length-squared field in vectors should be marked transient so that it is not
part of the JSON serialized state. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message