Hello there,
I am trying to use thundersvm on a text classification problem. I can run the test and get the 0.98 accuracy, so it seems that the library is working for test data. The problem is that when I want to use this on a text classification problem(e.g. 20 newsgroups dataset), I got very stange predictionand therefore low accuracy in comparison to sklearn SVC class. (In fact, y_pred is all "0" !). To demonstrate the problem, I have made a simple function to test it:
Hello there, I am trying to use thundersvm on a text classification problem. I can run the test and get the 0.98 accuracy, so it seems that the library is working for test data. The problem is that when I want to use this on a text classification problem(e.g. 20 newsgroups dataset), I got very stange predictionand therefore low accuracy in comparison to sklearn SVC class. (In fact, y_pred is all "0" !). To demonstrate the problem, I have made a simple function to test it:
Now if I test the
thundersvm.SVC()
:compare_sklearn_thunder(thundersvm.SVC())
I got:but when I test sklearn SVC:
compare_sklearn_thunder(svm.SVC())
It works fine:
How Can I solve this problem? Thanks in advance.