Incremental-SVM-Learning-in-MATLAB-master

所属分类:Windows编程
开发工具:matlab
文件大小:151KB
下载次数:2
上传日期:2020-08-22 22:02:13
上 传 者sukifall
说明:  增量SVM by diehl@alumni.cmu.edu
(incremental SVM by diehl@alumni.cmu.edu)

文件列表:
SVM Incremental Learning Adaptation and Optimization - Diehl and Cauwenberghs - 2003.pdf (133403, 2011-10-18)
bookkeeping.m (1787, 2011-10-18)
gestloo.m (1681, 2011-10-18)
gpl.txt (12111, 2011-10-18)
kernel.m (835, 2011-10-18)
kevals.m (271, 2011-10-18)
kevalsreset.m (216, 2011-10-18)
learn.m (4843, 2011-10-18)
loadclass.m (1465, 2011-10-18)
looest.m (3782, 2011-10-18)
min_delta.m (1416, 2011-10-18)
min_delta_acb.m (4490, 2011-10-18)
min_delta_p_c.m (3640, 2011-10-18)
min_delta_p_s.m (4243, 2011-10-18)
move_ind.m (596, 2011-10-18)
move_indr.m (1446, 2011-10-18)
nonlindata100.mat (1868, 2011-10-18)
perts.m (268, 2011-10-18)
perturbc.m (6877, 2011-10-18)
perturbk.m (7729, 2011-10-18)
plot2dkm.m (1836, 2011-10-18)
saveclass.m (1373, 2011-10-18)
svmeval.m (2553, 2011-10-18)
svmloo.m (4625, 2011-10-18)
svmtrain.m (7510, 2011-10-18)
svmtrain2.m (10118, 2011-10-18)
testresults.txt (759, 2011-10-18)
unlearn.m (6008, 2011-10-18)
updateRQ.m (2138, 2011-10-18)

Incremental SVM Learning Chris Diehl diehl@alumni.cmu.edu Description =========== This MATLAB package implements the methods for exact incremental/decremental SVM learning, regularization parameter perturbation and kernel parameter perturbation presented in "SVM Incremental Learning, Adaptation and Optimization" by Christopher Diehl and Gert Cauwenberghs. The PDF file of the paper is included with the code distribution. This code is designed for training SVMs to solve binary classification problems. The code can typically handle training problems with dataset sizes ranging up to 10,000 examples. This constraint is driven primarily by the fact that this method is computing and updating the inverse of the kernel matrix for the support vectors. The primary benefits of this code are: * exact incremental learning - one or more examples can be exactly incremented into the current SVM solution, resulting in a classifier that is valid for the entire training set seen up to that point * regularization parameter perturbation - the current SVM valid for a given set of regularization parameters C can be exactly perturbed to the valid SVM for a set of regularization parameters C' * kernel parameter perturbation - the current SVM valid for a given kernel parameter sigma can be exactly perturbed to the valid SVM for the kernel parameter sigma' * exact and approximate leave-one-out (LOO) error estimation - the exact LOO error estimate can be efficiently computed by exactly unlearning one example at a time and testing the classifier on the example. An efficient LOO approximation is also implemented that predicts the change in the example's margin based on the margin sensitivity. This approximation is referred to as the span bound in the literature, as introduced by Vapnik and Chapelle. Installation ============ Simply place the collection of m-files in a directory that is in MATLAB's path. To verify everything is working properly, execute the commands listed in the file testresults.txt. You should be able to replicate the output shown in this file. Routines ======== The following m-files are the main functions supporting SVM learning, parameter perturbation and leave-one-out error estimation. Help is available for each m-file by typing 'help ' within MATLAB. svmtrain, svmtrain2 - These m-files train a new SVM or the current SVM in memory on the given training data. svmtrain trains the SVM incrementally on one example at a time. svmtrain2 performs batch training, incrementing all the training examples into the solution simultaneously. svmtrain can often scale to larger problems than svmtrain2, yet svmtrain2 is often faster. svmeval - Evaluates the current SVM in memory on the given classifier input perturbc - Performs regularization parameter perturbation on the current SVM in memory perturbk - Performs kernel parameter perturbation on the current SVM in memory svmloo - Performs exact leave-one-out error estimation for the current SVM in memory looest - Performs approximate leave-one-out error estimation for the current SVM in memory saveclass - Saves the current SVM in memory to a file loadclass - Loads a saved SVM from a file into memory plot2dkm - A plotting routine to visualize the decision boundary of an SVM trained on a 2-d input space Questions/Comments ================== Drop me a line at the email address above! License ======= Copyright (C) 2006 Christopher P. Diehl This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

近期下载者

相关文件


收藏者