Convert CSV to ARFF using weka


I've been trying to get this dataset into Weka and no luck at all. I converted it to CSV and then loaded it into Weka and then tried to convert it to ARFF but still giving me the error "attribute names are not unique".

Also, do I have to spread the training dataset from testing dataset or keep them together?

Best Solution

You can also use the ArffViewer (Tools -> ArffViewer or Ctrl+A). Then open your CSV file.

Next go to File -> Save as... and select Arff data files (should be selected by default).

Note that your fields must be separated with a comma and not a semicolon.

Related Question