svm支持向量机编程,线性,非线性,高斯分类 线性分类
sp=[3,7; 6,6; 4,6;5,6.5] % positive sample points
sn=[1,2; 3,5;7,3;3,4;6,2.7] % negative sample points
2 非线性分类
sp=[3,7; 6,6; 4,6; 5,6.5] % positive sample points
sn=[1,2; 3,5; 7,3; 3,4; 6,2.7; 4,3;2,7] % negative sample points
3高斯核分类
sp=[5,4