Closed ikiskin closed 6 years ago
Thanks for your feedback. We have improved the interface and the usage of kernel parameter is the same with libsvm now.
Great, just a few spots left in the documentation to fix, under the Usage heading on https://github.com/zeyiwen/thundersvm/tree/master/python subheadings: "SVM classification", "One-class SVMs", and "SVM regression".
class SVC(kernel = 'rbf', ...
etc
Thank you very much. The doc has been fixed.
New users may be confused about kernel selection, due to the syntax difference with libsvm's scikitlearn:
SVC(kernel='rbf')
and thundersvm's:SVC(kernel=2)
Running thundersvm withkernel='rbf'
does not return an error, and the optimization fails (objective -inf). I would suggest either updating the interface to match libsvm's scikitlearn syntax and/or alerting the user when an invalid kernel (and possibly others) argument is passed.