Re: Import Csv to weka
javed khan <[email protected]>
| Newsgroups | gmane.comp.ai.weka |
|---|---|
| Message-ID | <CAJhui+tu2LJ74tyDOTAOR8LYuWAFWZaiwCxtkh58jEy-i0jKqg@mail.gmail.com> |
Dear Peter, thank you for your information. I have attached my CSV file here, so if you could see it. It has a few text features. When I try to import it in Weka, it gives me the following error could not read object my data.csv, invalid stream header 504C5547 Best regards On Wed, Apr 27, 2022 at 3:09 AM Peter Reutemann <[email protected]> wrote: > > Is there any tutorial/literature on the web which I can follow to import > the dataset? There is this paper but it follows a different procedure. > > > > sciencedirect.com/science/article/pii/S2666827021000141 > > Your initial email implied that you had a CSV file but problems > loading it in Weka. > > It is really up to you how you generate your dataset. In what format > do you have your textual data? > > The TextDirectoryLoader, as mentioned in the above paper and also on > the Weka Wiki article on text categorization > (https://waikato.github.io/weka-wiki/text_categorization_with_weka/) > expects the plain text documents to be in sub-dirs according to their > label. > > Cheers, Peter > -- > Peter Reutemann > Dept. of Computer Science > University of Waikato, NZ > +64 (7) 858-5174 (office) > +64 (7) 577-5304 (home office) > https://www.cs.waikato.ac.nz/~fracpete/ > http://www.data-mining.co.nz/ > _______________________________________________ > 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 >
SONAR_RULES.csv
(text/csv, 737.9 KB) - not displayed