pymining icon indicating copy to clipboard operation
pymining copied to clipboard

svm doesn't work

Open zrccxyb62 opened this issue 11 years ago • 0 comments

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.

  1. there misses a smo_csvc_train_test_by_sample.py
  2. 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 )
  3. Some test files are missing.

zrccxyb62 avatar May 17 '14 09:05 zrccxyb62