Ask your own question, for FREE!
Computer Science 21 Online
OpenStudy (anonymous):

Please tell me how to change attribute values in weka

OpenStudy (anonymous):

Do you mean you wish to edit the input file? Is it .arff or .csv format?

OpenStudy (anonymous):

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.

OpenStudy (anonymous):

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

OpenStudy (anonymous):

Dear Jonna_983 thank you very much. I will try as per your solution.

OpenStudy (anonymous):

Dear Jonnaa_983, thank you very much for your solution.

OpenStudy (anonymous):

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.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!