You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2010/10/03 12:25:32 UTC

[jira] Resolved: (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:all-tabpanel ]

Sean Owen resolved MAHOUT-373.
------------------------------

    Resolution: Fixed

This is resolved then right Drew?

> 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.4
>
>         Attachments: MAHOUT-373.patch
>
>
> 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.