没有合适的资源?快使用搜索试试~ 我知道了~
首页SMO算法:Platt提出的高效训练支持向量机方法
SMO算法:Platt提出的高效训练支持向量机方法
![](https://csdnimg.cn/release/wenkucmsfe/public/img/star.98a08eaa.png)
"Platt大牛的SMO算法是一篇由John C. Platt在1998年Microsoft Research发布的技术报告MSR-TR-98-14中提出的论文,其核心是针对支持向量机(SVM)训练的一种高效优化方法。SMO全称为Sequential Minimal Optimization,它的主要贡献在于将原本的大规模二次规划(QP)问题分解为一系列最小化的QP子问题,这使得算法能够避免使用耗时的数值优化作为内层循环。 SMO算法的优势在于内存需求线性依赖于训练集大小,这意味着它能够处理非常大的数据集,这对于大规模数据处理非常重要。由于算法避免了矩阵运算,其计算复杂度在不同测试问题上表现为介于线性和二次之间,相较于标准的分块SVM算法,其在处理大型训练集时效率更高,尤其是在面对线性SVM和数据稀疏情况时,SMO的执行速度尤为显著。 算法的关键在于通过解析求解这些小规模的QP问题,而非通过数值方法,这极大地提高了计算效率。SMO的计算时间主要消耗在对支持向量的评估上,因此,对于线性SVM和数据稀疏的场景,SMO算法体现出明显的速度优势。SMO算法是训练支持向量机的一个高效工具,尤其适用于需要处理大规模和稀疏数据的情况,且其简单而快速的特性使其在机器学习领域中占有重要地位。"
资源详情
资源推荐
![](https://csdnimg.cn/release/download_crawler_static/7431317/bg5.jpg)
5
the entire set of non-zero Lagrange multipliers has been identified, hence the last step solves the
large QP problem.
Chunking seriously reduces the size of the matrix from the number of training examples squared
to approximately the number of non-zero Lagrange multipliers squared. However, chunking still
cannot handle large-scale training problems, since even this reduced matrix cannot fit into
memory.
In 1997, Osuna, et al. [16] proved a theorem which suggests a whole new set of QP algorithms
for SVMs. The theorem proves that the large QP problem can be broken down into a series of
smaller QP sub-problems. As long as at least one example that violates the KKT conditions is
added to the examples for the previous sub-problem, each step will reduce the overall objective
function and maintain a feasible point that obeys all of the constraints. Therefore, a sequence of
QP sub-problems that always add at least one violator will be guaranteed to converge. Notice
that the chunking algorithm obeys the conditions of the theorem, and hence will converge.
Osuna, et al. suggests keeping a constant size matrix for every QP sub-problem, which implies
adding and deleting the same number of examples at every step [16] (see figure 2). Using a
constant-size matrix will allow the training on arbitrarily sized data sets. The algorithm given in
Osuna’s paper [16] suggests adding one example and subtracting one example every step.
Clearly this would be inefficient, because it would use an entire numerical QP optimization step
to cause one training example to obey the KKT conditions. In practice, researchers add and
subtract multiple examples according to unpublished heuristics [17]. In any event, a numerical
QP solver is required for all of these methods. Numerical QP is notoriously tricky to get right;
there are many numerical precision issues that need to be addressed.
Chunking
Osuna
SMO
Figure 2. Three alternative methods for training SVMs: Chunking, Osuna’s algorithm, and SMO. For
each method, three steps are illustrated. The horizontal thin line at every step represents the training
set, while the thick boxes represent the Lagrange multipliers being optimized at that step. For
chunking, a fixed number of examples are added every step, while the zero Lagrange multipliers are
discarded at every step. Thus, the number of examples trained per step tends to grow. For Osuna’s
algorithm, a fixed number of examples are optimized every step: the same number of examples is
added to and discarded from the problem at every step. For SMO, only two examples are analytically
optimized at every step, so that each step is very fast.
剩余20页未读,继续阅读
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![application/x-zip](https://img-home.csdnimg.cn/images/20210720083736.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![](https://csdnimg.cn/release/wenkucmsfe/public/img/green-success.6a4acb44.png)