Skip to content

svm doesn't work #1

@zrccxyb62

Description

@zrccxyb62

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions