added libsvm as optional output format