You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Drew Farris (JIRA)" <ji...@apache.org> on 2010/09/27 04:13:32 UTC

[jira] Commented: (MAHOUT-373) VectorDumper/VectorHelper doesn't dump values when dictionary is present

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

Drew Farris commented on MAHOUT-373:
------------------------------------

Ok, I'll get this in sometime this week.

> VectorDumper/VectorHelper doesn't dump values when dictionary is present
> ------------------------------------------------------------------------
>
>                 Key: MAHOUT-373
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-373
>             Project: Mahout
>          Issue Type: Improvement
>          Components: Utils
>    Affects Versions: 0.3
>            Reporter: Drew Farris
>            Assignee: Drew Farris
>            Priority: Minor
>             Fix For: 0.5
>
>
> Dumping term vectors with a dictionary using:
> {{mahout vectordump -s vector-output/chunk-0 -dt sequencefile -d dictionary-output}}
> gives me output like the following with no values, just the indexes expanded into their dictionary entries:
> {code}
> Name: 0001-11055 elts: {513:discard, 7199:empty,...
> {code}
> While dumping the same vector without a dictionary using
> {{mahout vectordump -s vector-output/chunk-0}}
> gives me output that includes indexes and values:
> {code}
> Name: 0001-11055 elts: {513:1.0, 7199:1.0...
> {code}
> Would it make sense for the dictionary based output to include values as well? Anyone opposed to modifying VectorHelper.vectorToString(Vector, String[]) to do so?

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