Skip to content

lmtoan/kernel-svm-dt558

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Kernel SVM Implementation from Scratch

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages