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

Joe Prasanna Kumar commented on MAHOUT-155:
-------------------------------------------

While testing from the command line, the labels were not getting written to the 
file provided through the -t option. I have modified the Driver code to write 
the label bindings to the file. If there are more than 1 arff file in the 
directory then their label bindings would be appended to the file provided 
through the -t option.

So the file would look like
Relation Timestampslabel bindings 
timestamp       0

Relation irislabel bindings 
sepallength     0
sepalwidth      1
petalwidth      3
petallength     2

Relation iris-testlabel bindings 
class   4
sepallength     0
sepalwidth      1
petalwidth      3
petallength     2


                
> ARFF VectorIterable
> -------------------
>
>                 Key: MAHOUT-155
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-155
>             Project: Mahout
>          Issue Type: New Feature
>          Components: Math
>            Reporter: Grant Ingersoll
>            Assignee: Grant Ingersoll
>            Priority: Minor
>              Labels: MAHOUT_INTRO_CONTRIBUTE
>         Attachments: MAHOUT-155-DateTestAndFix.patch, 
> MAHOUT-155-DateTestAndFix.patch, MAHOUT-155-DateTestAndLabelFix.patch, 
> MAHOUT-155.patch
>
>
> Convert ARFF to Vector.  See http://www.cs.waikato.ac.nz/~ml/weka/arff.html
> Create a VectorIterable implementation for ARFF.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to