[
https://issues.apache.org/jira/browse/MAHOUT-155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13143957#comment-13143957
]
Joe Prasanna Kumar commented on MAHOUT-155:
-------------------------------------------
Grant,
You are right. ARFF doesnt lock down date formats. The format of a date is an
optional parameter to the Date attribute. If no format is provided, it takes
the default "yyyy-MM-dd'T'HH:mm:ss" format.
We are currently checking if a format has been specified for a date attribute
and using that to create a DateFormat in ARFFVectorIterable. If not, we are
using "yyyy-MM-dd'T'HH:mm:ss" as the default format. So we are handling
different date formats. Infact the Testcase checks for date data with
"yyyy-MM-dd" format.
I am thinking of adding few more date format related test case just so we make
sure. I'll submit a patch for this during weekend.
reg,
Joe.
> 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.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