Skip to content

Latest commit

 

History

History
59 lines (39 loc) · 826 Bytes

README.md

File metadata and controls

59 lines (39 loc) · 826 Bytes

Kernel SVM

Usage

For simulated data demo, try:

cd examples/
python sim_demo.py

For DIGITS data demo, try:

cd examples/
python real_demo.py

To compare with Scikit-Learn, try:

cd examples/
python sklearn_compare.py

Dependencies

Python 3 or 2.7 with the following packages installed:

  1. Numpy
  2. Scipy
  3. Scikit-learn
  4. Pandas
  5. Matplotlib
  6. tqdm

Background

The loss function is as below:

Loss

The gradient is as below:

Grad

Plots

r

l

p

real

Screenshots

1

2

3