⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 matlab interface for libsvm.htm

📁 有关支持向量机的一些用于测试和分类的MATLAB程序 希望对大家有用
💻 HTM
📖 第 1 页 / 共 4 页
字号:
  Jordan</A> 
  <LI><A href="http://www.clrc.rhul.ac.uk/people/vlad/" target=_blank>Vladimir 
  Vapnik</A> 
  <LI><A href="http://www.cs.nyu.edu/jhuangfu/" target=_blank>Fujie Huang</A> 
  <LI><A href="http://www.agnld.uni-potsdam.de/" target=_blank toolbox 
  ~marwan>CRP TOOLBOX</A> 
  <LI><A href="http://stommel.tamu.edu/~baum/toolboxes.html" 
  target=_blank>MATLAB TOOLBOXES</A> 
  <LI><A href="http://www.r-project.org/" target=_blank>R Project</A> 
  <LI><A href="http://www.googlelogoshow.com/" target=_blank>Google Logo</A> 
  <LI><A href="http://www.westegg.com/einstein/" target=_blank>Albert Einstein 
  Online</A> 
  <LI><A href="http://www.phdcomics.com/" target=_blank>Piled Higher &amp; 
  Deeper</A> 
  <LI><A href="http://infoweb.lib.tsinghua.edu.cn/" 
  target=_blank>清华大学学术信息服务网</A> 
  <LI><A href="http://www.core.org.cn/cn/" target=_blank>中国开放式教育资源网</A> 
  <LI><A href="http://bbs.matwav.com/" target=_blank>研学论坛</A> 
  <LI><A href="http://cmbi.bjmu.edu.cn/" target=_blank>中国医学生物信息网</A> 
  <LI><A href="http://www.mvonline.com.cn/" target=_blank>机器视觉在线</A> 
  <LI><A href="http://www.kaifulee.com/default.asp" target=_blank>开复学生网</A> 
  <LI><A href="http://www.lqqm.org/" target=_blank>两全其美</A> 
  <LI><A href="http://yjrg.org/" target=_blank>一见如故</A> 
  <LI><A href="http://www.ip138.com/" target=_blank>常用查询</A> 
  <LI><A href="http://gdwang.yculblog.com/" target=_blank>好友国栋</A> 
  <LI><A href="http://vfeng.yculblog.com/" target=_blank>好友陆峰</A> 
  <LI><A href="http://spaces.msn.com/members/changtiantian" 
  target=_blank>虫虫乐园</A> 
  <LI><A href="http://www.feng001.com/bbs" target=_blank>好友峰峰</A> 
  <LI><A href="http://www.blogcn.com/user73/lifanjia/index.html" 
  target=_blank>好友凡甲</A> 
  <LI><A href="http://zq2006.68ab.com/" target=_blank>好友张琼</A> 
  <LI><A href="http://dy1981.yculblog.com/" target=_blank>晃晃悠悠</A> 
  <LI><A href="http://ir.hit.edu.cn/~bill_lang/blog10/" target=_blank>Bill 
  Lang's Blog</A> 
  <LI><A href="http://spaces.msn.com/dahua/" target=_blank>Dahua's MSN 
  Spaces</A> 
  <LI><A href="http://www.hoplite.cn/" target=_blank>中国黄埔军校网</A> 
  <LI><A href="http://www.kangri.net/" target=_blank>西部抗日网站</A> </LI></UL>
<DIV class=indextitle>订阅 与 统计</DIV>
<CENTER><A href="http://whs.yculblog.com/rss.xml" rel=follow><IMG alt="订阅 RSS" 
src="matlab interface for libsvm.files/rss200.png" border=0></A> 
<P></P>0003830 
<P></P><A href="http://www.yculblog.com/" target=_blank><IMG height=31 alt=歪酷博客 
src="matlab interface for libsvm.files/general-88x31.gif" width=88 border=0></A> 

<P></P></CENTER></DIV>
<DIV class=right>
<SCRIPT language=Javascript type=text/javascript>function check_followups() {if (this.document.followups_form.name.value == "") { alert("请输入姓名"); this.document.followups_form.name.focus(); return false; }if (this.document.followups_form.email.value != "") {if (check_email(this.document.followups_form.email.value) == false) {alert("请输入正确的电邮地址"); this.document.followups_form.email.focus(); return false; } }if (this.document.followups_form.content.value == "") { alert("请输入评论内容"); this.document.followups_form.content.focus(); return false; }this.document.followups_form.submit(); }function check_email(str) { var pattern = /^([a-zA-Z0-9_]|\-|\.)+@(([a-zA-Z0-9_]|\-)+\.)+[a-zA-Z]{2,4}$/; return pattern.test(str); }</SCRIPT>

<TABLE cellSpacing=2 cellPadding=2 width="100%" border=0>
  <TBODY>
  <TR>
    <TD>
      <TABLE cellSpacing=0 cellPadding=2 width="100%" border=0>
        <TBODY>
        <TR>
          <TD align=right><A 
            href="http://whs.yculblog.com/post.669289.html">下一篇: 神经网络工具箱函数总结 
            &raquo;</A> </TD></TR></TBODY></TABLE></TD></TR>
  <TR>
    <TD>
      <DIV><A class=post_title href="http://whs.yculblog.com/post.669280.html" 
      rel=follow>FAQ of LIBSVM</A></DIV>
      <DIV><SPAN class=post_user>purpleleaf</SPAN><SPAN class=post_time> @ 
      2005-05-12 11:33</SPAN></DIV><BR>
      <DIV class=post_content>
      <P>本来准备今天翻译完libsvm的faq, 但中间有事情耽搁了,只翻译了一部分,剩下的有时间在做,希望能对学习svm的同学有用<BR></P>
      <P><A name=/Q1:_Some_courses_which_have_used_libsvm_as_a_tool></A><A 
      name=faq1><STRONG>问: 已有哪些学校的课程应用了libsvm?</STRONG></A> <BR></P>
      <UL>
        <LI><A 
        href="http://lmb.informatik.uni-freiburg.de/lectures/svm_seminar/">德国弗赖堡大学,计算机科学学院应用科学系 
        </A>
        <LI><A href="http://www.cs.vu.nl/~elena/ml.html">数学与计算机科学部. Faculteit 
        der Exacte Wetenschappen 荷兰,自由大学(VU). </A>
        <LI><A 
        href="http://www.cae.wisc.edu/~ece539/matlab/">威斯康辛大学-麦迪逊分校,电子工程与计算机工程系</A> 

        <LI><A 
        href="http://www.hpl.hp.com/personal/Carl_Staelin/cs236601/project.html">以色列,以色列理工学院.</A> 

        <LI><A 
        href="http://www.hpl.hp.com/personal/Carl_Staelin/cs236601/project.html">佛罗里达州立大学 
        计算机与信息科学系. </A>
        <LI><A 
        href="http://www.uonbi.ac.ke/acad_depts/ics/course_material/machine_learning/ML_and_DM_Resources.html">肯尼亚,奈洛比大学,计算机科学学院.</A> 

        <LI><A 
        href="http://cerium.raunvis.hi.is/~tpr/courseware/svm/hugbunadur.html">冰岛大学,应用数学与计算机科学学院. 

        <LI>2005,芝加哥大学,机器学习夏季学校,SVM课件. </A></LI></UL>
      <P align=right><A 
      href="http://www.csie.ntu.edu.tw/~cjlin/libsvm/faq.html#_TOP">[Go Top]</A> 
      </P>
      <HR>

      <P><A name=/Q2:_Installation_and_running_the_program></A><A 
      name=f201><STRONG>问: 我在那里能够找到libsvm的文件 ?</STRONG></A> <BR></P>
      <P>软件包中有一个 README 
      文件,里面详细说明了所有参数选项、数据格式以及库函数的调用。在python目录下,模型选择工具和python界面的libsvm各有一个README文件。 
      初学者可以通过<A 
      href="http://www.csie.ntu.edu.tw/~cjlin/papers/guide/guide.pdf">A 
      practical guide to support vector classification </A>了解如何训练和检验数据.论文<A 
      href="http://www.csie.ntu.edu.tw/~cjlin/papers/libsvm.pdf">LIBSVM : a 
      library for support vector machines</A> 详细讨论了libsvm的使用. </P>
      <P align=right><A 
      href="http://www.csie.ntu.edu.tw/~cjlin/libsvm/faq.html#_TOP">[Go Top]</A> 
      </P>
      <HR>

      <P><A name=/Q2:_Installation_and_running_the_program></A><A 
      name=f202><STRONG>问: 以前版本的libsvm都有什么变化?</STRONG></A> <BR></P>
      <P>详见<A href="http://www.csie.ntu.edu.tw/~cjlin/libsvm/log">变化日志</A>. </P>
      <P>你可以到<A 
      href="http://www.csie.ntu.edu.tw/~cjlin/libsvm/oldfiles">这里</A>下载以前版本的libsvm 
      . </P>
      <P align=right><A 
      href="http://www.csie.ntu.edu.tw/~cjlin/libsvm/faq.html#_TOP">[Go Top]</A> 
      </P>
      <HR>

      <P><A name=/Q2:_Installation_and_running_the_program></A><A 
      name=f203><STRONG>问: 如果我想引用libsvm, 我应该引用哪篇论文? </STRONG></A><BR></P>
      <P>请引用以下论文: </P>
      <P>Chih-Chung Chang and Chih-Jen Lin, LIBSVM : a library for support 
      vector machines, 2001. Software available at 
      http://www.csie.ntu.edu.tw/~cjlin/libsvm </P>
      <P>bibtex格式如下: </P><PRE>@Manual{CC01a,
author =	 {Chih-Chung Chang and Chih-Jen Lin},
title =	 {{LIBSVM}: a library for support vector machines},
year =	 {2001},
note =	 {Software available at \url{http://www.csie.ntu.edu.tw/~cjlin/libsvm}}
}
</PRE>
      <P align=right><A 
      href="http://www.csie.ntu.edu.tw/~cjlin/libsvm/faq.html#_TOP">[Go Top]</A> 
      </P>
      <HR>

      <P><A name=/Q2:_Installation_and_running_the_program></A><A 
      name=f204><STRONG>问: 如果我想在我的软件中应用svm,是否存在软件许可问题?</STRONG></A><BR></P>
      <P>Libsvm许可文件 ("修改了的BSD许可文件") 和其他许多软件的许可文件都是兼容的,如 GPL. 
      因此你很容易就可以把libsvm应用到你的软件中,你还可以将它应用到商业产品中. </P>
      <P align=right><A 
      href="http://www.csie.ntu.edu.tw/~cjlin/libsvm/faq.html#_TOP">[Go Top]</A> 
      </P>
      <HR>

      <P><A name=/Q2:_Installation_and_running_the_program></A><A 
      name=f205><STRONG>问: 是否有一系列基于libsvm的附加工具?</STRONG></A> <BR></P>
      <P>是的,详见<A href="http://www.csie.ntu.edu.tw/~cjlin/libsvmtools">libsvm 
      tools</A> </P>
      <P align=right><A 
      href="http://www.csie.ntu.edu.tw/~cjlin/libsvm/faq.html#_TOP">[Go Top]</A> 
      </P>
      <HR>

      <P><A name=/Q2:_Installation_and_running_the_program></A><A 
      name=f206><STRONG>问: 在Unix操作系统中, 出现了"error in loading shared 
      libraries"(“在装载共享库时发生错误”)或者"cannot open shared object file."(无法打开共享目标文件“) 
      这是为什么? </STRONG></A><BR></P>
      <P>如果你在一台机器上编译代码,然后到另外一台有着不兼容库的机器上运行,这种情况酒会经常发生。你在那台机器上可以重新编译一下,或者用静态连接。 
      </P>
      <P align=right><A 
      href="http://www.csie.ntu.edu.tw/~cjlin/libsvm/faq.html#_TOP">[Go Top]</A> 
      </P>
      <HR>

      <P><A name=/Q2:_Installation_and_running_the_program></A><A 
      name=f207><STRONG>问</STRONG><STRONG>:修改源代码后,如果想在MS窗口中建立一个“svm-toy”的图形界面,我该怎么做?</STRONG></A><BR></P>
      <P>你可以通过选择 "Win32 Project"来建立一个工程。另外对于"svm-train"和 "svm-predict" 
      ,你需要选择"Win32 Console 
      Project"。对于libsvm2.5以后的版本,你还可以通过Makefile.win来实现。详见README。 </P>
      <P>如果你没有用Makefile.win并出现了以下连接错误:</P><PRE>LIBCMTD.lib(wwincrt0.obj) : error LNK2001: unresolved external symbol
_wWinMain@16
</PRE>
      <P>那么,你很有可能是选择了一个错误的工程类型。 </P>
      <P align=right><A 
      href="http://www.csie.ntu.edu.tw/~cjlin/libsvm/faq.html#_TOP">[Go Top]</A> 
      </P>
      <HR>

      <P><A name=/Q2:_Installation_and_running_the_program></A><A 
      name=f208><STRONG>问: 我是MS Windows用户,在这些预编译的exe文件中,为什么只有一个(SVM_toy)运行? 
      </STRONG></A><BR></P>
      <P>你应当打开命令窗口,然后输入svmtrain.exe,这样就可以在DOS窗口中看到所有的选项了。你可以到README文件中看到一些例子 
</P>
      <P align=right><A 
      href="http://www.csie.ntu.edu.tw/~cjlin/libsvm/faq.html#_TOP">[Go Top]</A> 
      </P>
      <HR>

      <P><A name=/Q3:_Data_preparation></A><A 
      name=f301><STRONG>问:为什么有时我在training/model 
      文件中看不到所有的数据属性呢?W</STRONG></A><BR></P>
      <P>libsvm应用了所谓的”稀疏“格式,这样零值就不用存储了。例如,有下面属性的数据 </P><PRE>1 0 2 0
</PRE>
      <P>将被替换为: </P><PRE>1:1 3:2
</PRE>
      <P align=right><A 
      href="http://www.csie.ntu.edu.tw/~cjlin/libsvm/faq.html#_TOP">[Go Top]</A> 
      </P>
      <HR>

      <P><A name=/Q3:_Data_preparation></A><A 
      name=f302><STRONG>问:如果我的数据是非数值型的,可以用libsvm吗? </STRONG></A><BR></P>
      <P>目前libsvm只支持数值型的数据。因此,你必须将非数值型的转为数值型的数据。比如,你可以用二进制属性来替代原来的类别属性。 </P>
      <P align=right><A 
      href="http://www.csie.ntu.edu.tw/~cjlin/libsvm/faq.html#_TOP">[Go Top]</A> 
      </P>
      <HR>

      <P><A name=/Q3:_Data_preparation></A><A name=f303><STRONG>问:为什么要采用稀疏格式呢? 
      密集数据在训练时候会不会很慢?</STRONG></A><BR></P>
      <P>这是个具有争议的话题。将系数向量赋值给核函数是比较慢的,因此总的训练时间至少是采用密集格式的2倍或3倍。 
      但是,我们不支持密集格式的数据,因为我们不能够处理极度稀疏的数据。代码的简洁也是我们考虑的一个因素。目前我们决定只支持稀疏格式的数据。 </P>
      <P align=right><A 
      href="http://www.csie.ntu.edu.tw/~cjlin/libsvm/faq.html#_TOP">[Go Top]</A> 
      </P>
      <HR>

      <P><A name=/Q4:_Training_and_prediction></A><A name=f401><STRONG>问: 
      训练C-SVM时,其输出结果如下, 它们代表什么意思?</STRONG></A> <BR><BR>optimization finished, 
      #iter = 219 <BR>nu = 0.431030 <BR>obj = -100.877286, rho = 0.424632 
      <BR>nSV = 132, nBSV = 107 <BR>Total nSV = 132 </P>
      <P>obj 是对偶SVM问题的最优目标值. rho 是判决函数sgn(w^Tx - rho)的偏项. nSV 和 nBSV 
      分别代表支持向量和边界支持向量 (即alpha_i = C)的个数. nu-svm 在某中程度上可以看作 C-SVM的等价形式,不过其中的 
      C被替换为 nu. nu 仅表明了相应的参数. 更详细的解释请看<A 
      href="http://www.csie.ntu.edu.tw/~cjlin/papers/libsvm.pdf">libsvm 
      document</A>. </P>
      <P align=right><A 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -