How to convert other data formats to LIBSVM format?
It depends on your data format. We have a simple C code to transfer space/colon separated format to libsvm format. Please contact us if needed. Alternatively, a simple way is to use libsvmwrite in the libsvm matlab/octave interface. Take a CSV (colon separated format) file in UCI machine learning repository as an example. We download SPECTF.train. Labels are in the first column. The following steps produce a file in the libsvm format.