Using csv files with weka

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Using csv files with weka

ipaulbogdan
I'm trying to use weka in my springboot app. I'm trying to load and make
prediction on csv data set using the following code:


I keep receiving keyword @relation expected. According to waikato.github.io
DataSource is NOT LIMITED to Arff files, basically it should be able to load
every type of file that weka supports. Please help!



--
Sent from: https://weka.8497.n7.nabble.com/
_______________________________________________
Wekalist mailing list -- [hidden email]
Send posts to [hidden email]
To unsubscribe send an email to [hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: Using csv files with weka

Peter Reutemann
> I'm trying to use weka in my springboot app. I'm trying to load and make
> prediction on csv data set using the following code:
>
>
> I keep receiving keyword @relation expected. According to waikato.github.io
> DataSource is NOT LIMITED to Arff files, basically it should be able to load
> every type of file that weka supports. Please help!

Can you post your code that does the actual loading of the CSV file?

Cheers, Peter
--
Peter Reutemann
Dept. of Computer Science
University of Waikato, NZ
+64 (7) 858-5174
http://www.cms.waikato.ac.nz/~fracpete/
http://www.data-mining.co.nz/
_______________________________________________
Wekalist mailing list -- [hidden email]
Send posts to [hidden email]
To unsubscribe send an email to [hidden email]
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