如何进行交叉验证SVM分类器 [英] How to do cross validation SVM classifier

查看:407
本文介绍了如何进行交叉验证SVM分类器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想通过将SVM分类器应用于大小为1089 * 43093的数据矩阵S来执行解码,并且基于11倍交叉计算标签的预测精度,表示为r验证分类程序.11倍交叉验证基于数据矩阵S,该数据矩阵分为训练和测试数据集以进行分类.具体地,该交叉验证仅用于计算预测精度r. 有人可以给我一些建议吗?非常感谢!

I want to perform a decoding by applying an SVM classifier to a data matirx S, the size of which is 1089*43093,and the prediction accuracy of the labels, denoted as r, is calculated based on a 11-fold cross-validation classification procedure.The 11 fold cross-validation is based on the data matrix S, which is separated into the training and testing data sets for classification. Specifically, this cross-validation is only for calculating the prediction accuracy r. Can anyone give me some suggestion to do this? Thanks a lot!

推荐答案

要执行SVM分类,请使用

To carry out SVM classification, use libsvm.

一个好的入门教程是: https://sites.google.com/site /kittipat/libsvm_matlab

A good tutorial to start would be: https://sites.google.com/site/kittipat/libsvm_matlab

Matlab代码以供交叉验证参考

Matlab code for reference on cross validation:

在MATLAB中进行10倍SVM分类的示例

使用libsvm进行交叉验证后的培训

在MATLAB上安装LibSVM: http://www.youtube.com/watch? v = Wz_4h_bH7-c

Installing LibSVM on MATLAB: http://www.youtube.com/watch?v=Wz_4h_bH7-c

这篇关于如何进行交叉验证SVM分类器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆