pgan
05-17-2008, 03:49 AM
Hi,
I have some data sets which I need in CSV format for analysis with other tools. I would rather not make ARFF copies of them to save space.
So, I want to set the class attribute in Experimenter. I set a FilteredClassifier with a ClassAssigner filter, but I still get an error "Class attribute is not nominal", so apparently it is not set. When I type the classIndex paramter to ClassAssigner, it outputs error messages on the command line:
Error parsing 'fi'!
Error parsing 'fi'!
Error parsing 'firs'!
Still, it seems to accept the string "first", like other Weka index parameters do. When I use "1" instead, it automatically reverts to "2". This looks like a bug, but maybe it is not.
Is it possible to assign the class in experimenter? I could not find anything on the web about this.
Thanks
Philip Ganchev
I have some data sets which I need in CSV format for analysis with other tools. I would rather not make ARFF copies of them to save space.
So, I want to set the class attribute in Experimenter. I set a FilteredClassifier with a ClassAssigner filter, but I still get an error "Class attribute is not nominal", so apparently it is not set. When I type the classIndex paramter to ClassAssigner, it outputs error messages on the command line:
Error parsing 'fi'!
Error parsing 'fi'!
Error parsing 'firs'!
Still, it seems to accept the string "first", like other Weka index parameters do. When I use "1" instead, it automatically reverts to "2". This looks like a bug, but maybe it is not.
Is it possible to assign the class in experimenter? I could not find anything on the web about this.
Thanks
Philip Ganchev