Re: Import Csv to weka

Peter Reutemann <[email protected]>
Newsgroups gmane.comp.ai.weka
Message-ID <CAHoQ12L-wRMub+wkxQVVui1kU5X-zyqu6FiqD=DfLxWFSUzkFQ@mail.gmail.com>
> 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
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.