Re: Unparseable date error
Michael Hall <[email protected]>
| Newsgroups | gmane.comp.ai.weka |
|---|---|
| Message-ID | <[email protected]> |
> On Nov 9, 2021, at 7:26 PM, Rodriguez Jacinto, Andres Luis <[email protected]> wrote: > > Hello, > > I´ve been looking everywhere on the net but I do not find the error... > > I have some weather station data in CSV that I try to use in weka but when I try to load the file in the explorer I get that "unparsable date" error but it is not on line 1 but in 213267 (02:00 hrs) but its format is not different for the previous lines! -which do not cause error- > > 2016-04-03 01:50,17,17.1,16.9,43,4.3,0,---,0,0,-- > 2016-04-03 02:00,16.8,16.9,16.8,44,4.5,0,---,0,0,-- > 2016-04-03 02:10,16.7,16.8,16.7,45,4.7,0,---,0,0,-- > 2016-04-03 02:20,16.6,16.7,16.6,46,4.9,0,---,0,0,--- > > > I opened the file with invoke options dialog, in dateFormat used: > > yyyy-MM-dd HH:mm > > In dateAttributes I just put 1 since is the first one > > I have been at it for hours but I cannot fix it. I hope you can help me. > https://www.cs.waikato.ac.nz/ml/weka/arff.html <https://www.cs.waikato.ac.nz/ml/weka/arff.html> Date Attributes shows how ‘arff’ format expects to work. You don’t indicate how you are converting from csv but I think that doesn’t always work quite perfectly for all data. You might want to do some manual or scripted changes to the data to get it to where Weka likes it. _______________________________________________ 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