I've been trying to get this dataset http://archive.ics.uci.edu/ml/datasets/Communities+and+Crime+Unnormalized 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?
Use csv files - Weka Wiki. Yes, you can.
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 .
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With