Please tell me how to change attribute values in weka
Do you mean you wish to edit the input file? Is it .arff or .csv format?
Yes it is an .arff file. Particularly it is UCI arrhythmia.arff file. I want to modify class attributes values to be only of two values that either zero for class value 1 and one for rest of class values so that problem will be binary classifiaction.
I see. The problem is that weka does not have an .arff editor. What I would suggest is to convert it to a .csv file first, using the SimpleCLI and especially the CSVSaver. Use the following command: java weka.core.converters.CSVSaver -i filename.arff -o filename.csv You can edit the csv with a spreadsheet program and then turn it back to an .arff java weka.core.converters.CSVLoader filename.csv > filename.arff
Dear Jonna_983 thank you very much. I will try as per your solution.
Dear Jonnaa_983, thank you very much for your solution.
Dear Jonna_983, I have performed near about 10 experiments by varying classifier configuration in Weka. Now I want to draw ROC curves together for all 10 classifiers. Please tell me how to do this.
Join our real-time social learning platform and learn together with your friends!