Skip to content

syuoni/SVM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SVM

By syuoni (https://github.com/syuoni)

Introduction

A implementation of Support Vector Machine (SVM) with Python.

Since a deeply vectorized impelementation of Sequential Minimal Optimization (SMO) algrithm, the computation is quite fast. An alternative optimization method of SLSQP (from scipy) is provided.

Demonstration

For example,

>>> from SVM import SVM, VecKernel
>>> svm = SVM(SVM(kernel_gram=VecKernel.gaussian())
>>> predictor = svm.construct_predictor(y, X, method='smo')
>>> predictor.predict(x_test)

About

An implementation of Support Vector Machine (SVM) with Python

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages