Re: Unparseable date error

Michael Hall <[email protected]>
Newsgroups gmane.comp.ai.weka
Message-ID <[email protected]>

> On Nov 9, 2021, at 7:52 PM, Peter Reutemann <[email protected]> wrote:
> 
>> With my NZ locale, I can load the attached dataset.
>> 
>> 
>> But it shows as nominal not as a date
> 
> Of course, you have to parse the 1st attribute as date with the
> following format (as OP mentioned):
> yyyy-MM-dd HH:mm
> 

You did this and it was recognized as a Date? The blank still sort of concerns me. I remember mention in the past that the CSV conversions sometimes had problems.

I might still suggest getting the date into the format indicated in the arff spec yourself might be an idea. I think it mentioned any format that would work with java SimpleDateFormat. 

But I usually preprocess csv files in R and convert to arff with RWeka. I haven’t done that a lot for dates. 

I’m not sure what the dateAttributes in the GUI actually means.

_______________________________________________
Wekalist mailing list -- [email protected]
Send posts to [email protected]
To unsubscribe send an email to [email protected]
To subscribe, unsubscribe, etc., visit https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.