pymining
pymining copied to clipboard
svm doesn't work
Hi, thanks a lot for your great work. But I found something about the svm is not fully functional, and I debuged some of them, but it still doesn't work.
- there misses a smo_csvc_train_test_by_sample.py
- the smo_csvc_train_test.py has some bugs, the accuracy calculation part always reports float division by zero and other parts too. like: ( File "/root/tim/0.2/example/../pymining/classifier/smo_csvc.py", line 738, in Train self.b = ((b1/(c1))+(b2/(self.model.svn - c1)))/2 ZeroDivisionError: float division by zero )
- Some test files are missing.