支持向量机(SVM)实现的分类算法源码
[code]
function [iter, optCond, time, w, gamma] = lsvm(A,D,nu,tol,maxIter,alpha, ... perturb,normalize);
% LSVM Langrangian Support Vector Machine algorithm
% LSVM solves a support vector machine problem using an iterative % algorithm inspired by an augmented Lagrangian formulation.
%
% iters = lsvm(A,D)
%
% where A is the data matrix, D is a diagonal matrix of 1s and -1s % indicating which class the points are in, and 'iters' is the number % of iterations the algorithm used.
%
% All the following additional arguments are optional:
%
% [iters, optCond, time, w, gamma] = ...
% lsvm(A,D,nu,tol,maxIter,alpha,perturb,normalize)
%
% optCond is the value of the optimality condition at termination. % time is the amount of time the algorithm took to terminate.
% w is the vector of coefficients for the separating hyperplane.
% gamma is the threshold scalar for the separating hyperplane.
%
% On the right hand side, A and D are required. If the rest are not % specified, the following defaults will be used:
% nu = 1/size(A,1), tol = 1e-5, maxIter = 100, alpha = 1.9/nu,
% perturb = 0, normalize = 0
%
% perturb indicates that all the data should be perturbed by a random % amount between 0 and the value given. perturb is recommended only % for highly degenerate cases such as the exclusive or.
%
% normalize should be set to 1 if the data should be normalized before % training.
%
% The value -1 can be used for any of the entries (except A and D) to % specify that default values should be used.
%
% Copyright (C) 2000 Olvi L. Mangasarian and David R. Musicant. % Version 1.0 Beta 1
% This software is free for academic and research use only.
% For commercial use, contact musicant@cs.wisc.edu.
支持向量机算法及其代码实现 支持向量机(SVM) ,起初由 vapnik 提出时,是作为寻求最优(在一定程度上)二分类器的 一种技术。后来它又被拓展到回归和聚类应用。SVM...
以支持向量机(SVM)和传统统计分类方法为研究对象,详细介绍二者分类方法的基本理论... 算法, 并通过 C 语言编程实现了 CGM-OC-SVM 算法, 利用 Matlab 进行算法...
4 l 支持向量机分类算法在 MATLAB环境下的实现董 婷 (榆林学院 计算机与网络工程系, 陕西 榆林 719000) 摘要: 支持向量机算法 SVM ( Support V ectorM ach ...
因此, 寻找一种更有效的混淆点修剪算法对于提高 支持向量机分类精度与速度都是有重要意义的。 2 基于 k 个同类近邻的 SVM 分类算法 (KCNN-SVM ) 2.1 NN-...
支持向量机 29页 2财富值 直接聚类法的java代码实现... 10页 免费 [分布式...SVM支持向量机-入门模式识别与智能系统,强大的分类器,普适性很强,分类效果好。...
,N, SuykensJAK和Vandewalle提出了最小二乘支持向量机(LeastSquaresSVM,LS-SVM算法〔4〕,该算法通过求解一组线) 性方程而获得最优分类面。 最小二乘支持向量机...
? SVM 通过核函数实现到高维空间的非线性 映射,所以适合于解决本质上非线性的...? 信息科学技术学院 · 网络研究所 SVM分类算法 SVM分类算法 ? 训练好SVM分类...
最小二乘支持向量机分类问题的算法实现_专业资料。介绍了支持向量机理论、常用的支持向量机内积核函数以及最小二乘支持向量机算法.采用最小二乘法实现了支持向量机...
浙江大学SVM(支持向量机)_IT/计算机_专业资料。支持向量机,介绍得比较专业... 支持向量机入门 41页 1下载券 支持向量机分类算法在MA... 3页 免费...
机器学习中的算法-支持向量机(SVM)基础_互联网_IT/计算机_专业资料。SVM对于...其实在很多时候,不是在训练的时候分类 函数越完美越好,因为训练函数中有些数据...
热门文档