/**
* @param args
*/
public static void main(String[] args) throws Exception {
LibSVMLoader libsvm = new LibSVMLoader();
libsvm.setFile(new File(args[0]));
//read from libsvm format files
Instances instances = libsvm.getDataSet();
//convert to nominal class argument to avoid
// exception in weka's smo :-/
NumericToNominal filter = new NumericToNominal();
filter.setInputFormat(instances);