libsvm output parsing