0

I need to use data set (for example vowel testing and training data set ) from libsvm website to do classification using e1071. Then compare the performance of R with libsvm3-17. The problem is that I can not import the libsvm data to R that can be used by e1071. Any help would be greatly appreciated.

Thanks in advance

4

1 回答 1

1

You can read libsvm format with built-in methods in your R library

library(e1071)
read.matrix.csr(...)

or use code by zygmuntz from github:

https://github.com/zygmuntz/r-libsvm-format-read-write

于 2013-10-11T15:19:15.400 回答