.names and .data in Weka

arff, machine-learning, weka

Solution

Please look at the "creating a .arff file" section in http://storm.cis.fordham.edu/~gweiss/data-mining/weka.html

If you want a simpler solution using only the .data file (.names are related to data description): just edit the .data file, insert a header (insert a first line with a different name for each attribute and all separated by a comma), save and rename it to .csv. Be careful that this solution shall not handle properly non basic data types and encounter problems with missing values.

Problem

I am new to Weka. I am trying to run some algorithms in Weka using UCI ML repository but I don't know how to use the .names and .data files in Weka. Can anyone tell me how to convert .data and .name to arff format?

Original source