cjlin1 / libsvm

LIBSVM -- A Library for Support Vector Machines
https://www.csie.ntu.edu.tw/~cjlin/libsvm/
BSD 3-Clause "New" or "Revised" License
4.52k stars 1.64k forks source link

how can i improve train speed? #197

Closed xiaotaofeng closed 1 year ago

xiaotaofeng commented 1 year ago

this is my condition:linear kernel;feature is six;svm_cross_validation ; sample size is 10000 my questions: (1) why my project train is very slow? (2) can i need do preprocess?

cjlin1 commented 1 year ago

If you use linear, please use liblinear instead of libsvm. Liblinear is much faster for linear kernel.