pa-m / sklearn

bits of sklearn ported to Go #golang
MIT License
345 stars 38 forks source link

[svm] Train with linear kernels in linear time #17

Open vsekhar opened 3 years ago

vsekhar commented 3 years ago

SVMs with linear kernels can be trained in O(n) time, as in LIBLINEAR.

Can svmTrain fast-path to an O(n) solver when svm.Kernel == "linear"?