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
            Priority: Minor


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.

Reply via email to