Skip to content

lighttxu/SVM

Repository files navigation

SVM

Implementation of SVM algorithm.

算法实现参考了《机器学习实战》, 书中的代码在svm_platt_mat.py中, 其中关于smo部分有点问题,导致支持向量找的不对,如下图
svm

修改后的代码在svm_platt_array.py中,
svm

smo_paper.py是参照smo论文中伪代码的实现;
svm_kernel.py中加入了带核函数
kernel

About

Implementation of SVM algorithm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages