About the ARFF file format and how it is the default way to represent data in Weka. Use Excel for Other File Formats. If you have data in another format, load it in Microsoft Excel first. 62 Responses to How To Load CSV Machine Learning Data in Weka. Alcajerah June 23, 2016 at 10:13 pm # great post.

Do you perhaps mean a csv file that ends in.txt? If the data inside the file looks like this: 1,434,2236,5,569,some,value,other,value 4,347,2351,1,232,different,value,than,those Then it has comma separated values (csv) and Weka has classes and functions which convert a csv file into an arff: You can use these from the command line, like this: java weka.core.converters.CSVLoader filename.csv > filename.arff Otherwise, @D3mon-1stVFW 's comment links to great documentation from weka about turning text files (things like blog posts or books or essays) into the arff format. And this can also be called from the command line, like this: java weka.core.converters.TextDirectoryLoader /directory/with/your/text/files > output.arff. This solution assumes you have your data in.csv format - see kaz's solution. One simple way to do this is in version 3.6.11 (I'm on a mac) is to open up the Explorer and then in the Preprocess tab select 'Open file.' , just as you would when you want to open a.arff file. Then where it asks for the File Format at the bottom of the dialog box, change it to.csv.
You can now load CSV files straight into Weka. If the first line of your CSV file is a header line, these names will be used as the attribute names. On the right-hand side of the Preprocesses tabs is a 'Save.' You can click on that and save your data as a.arff file.

Real football manager 2016 jar 320x240 for nokia asha 210. This is a bit long-winded to explain, but takes only a few moments to perform and is very intuitive.