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

Sean Owen commented on MAHOUT-337:
----------------------------------

I could see it, OK. You'd need to fix the original problem then, which is that 
two equal vectors have differing string representations. This cause some issue 
for Pallavi. Nixing the string output solves that in a brute-force way... does 
the Printable output not have the same issue? or we're saying not-a-bug, you 
shouldn't compare serialized representations this way?

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

Reply via email to