首页 开发技术 C     /    稀疏贝叶斯模型相关向量机

稀疏贝叶斯模型相关向量机

上传者: lhyzguolei | 上传时间:2021/2/5 11:51:53 | 文件大小:17KB | 文件类型:zip
稀疏贝叶斯模型相关向量机
相关向量机的MATLAB代码,经过验证是正确的,很实用推荐相关向量机(Relevancevectormachine,简称RVM)是Tipping在2001年在贝叶斯框架的基础上提出的,它有着与支持向量机(Supportvectormachine,简称SVM)一样的函数方式,与SVM一样基于核函数映射将低维空间非线性问题转化为高维空间的线性问题。
RVM原理步骤RVM通过最大化后验概率(MAP)求解相关向量的权重。
对于给定的训练样本集{tn,xn},类似于SVM,RVM的模型输出定义为y(x;w)=∑Ni=1wiK(X,Xi)+w0其中wi为权重,K(X,Xi)为核函。
因此对于,tn=y(xn,w)+εn,假设噪声εn服从均值为0,方差为σ2的高斯分布,则p(tn|ω,σ2)=N(y(xi,ωi),σ2),设tn独立同分布,则整个训练样本的似然函数可以表示出来。
对w与σ2的求解如果直接使用最大似然法,结果通常使w中的元素大部分都不是0,从而导致过学习。
在RVM中我们想要避免这个现像,因此我们为w加上先决条件:它们的机率分布是落在0周围的正态分布:p(wi|αi)=N(wi|0,α?1i),于是对w的求解转化为对α的求解,当α趋于无穷大的时候,w趋于0.RVM的步骤可以归结为下面几步:1.选择适当的核函数,将特征向量映射到高维空间。
虽然理论上讲RVM可以使用任意的核函数,但是在很多应用问题中,大部分人还是选择了常用的几种核函数,RBF核函数,Laplace核函数,多项式核函数等。
尤其以高斯核函数应用最为广泛。
可能于高斯和核函数的非线性有关。
选择高斯核函数最重要的是带宽参数的选择,带宽过小,则导致过学习,带宽过大,又导致过平滑,都会引起分类或回归能力的下降2.初始化α,σ2。
在RVM中α,σ2是通过迭代求解的,所以需要初始化。
初始化对结果影响不大。
3.迭代求解最优的权重分布。
4.预测新数据。

文件下载

资源详情

[{"title":"(18个子文件17KB)稀疏贝叶斯模型相关向量机","children":[{"title":"rvmm","children":[{"title":"scalestd.m <span style='color:#111;'>225B</span>","children":null,"spread":false},{"title":"InitStruct.m <span style='color:#111;'>528B</span>","children":null,"spread":false},{"title":"TrainRVM.m <span style='color:#111;'>3.13KB</span>","children":null,"spread":false},{"title":"code_rvm","children":[{"title":"sbl_rvm.m <span style='color:#111;'>1.98KB</span>","children":null,"spread":false},{"title":"sbl_estimate.m <span style='color:#111;'>4.81KB</span>","children":null,"spread":false},{"title":"sbl_example_c.m <span style='color:#111;'>2.74KB</span>","children":null,"spread":false},{"title":"License.txt <span style='color:#111;'>4.05KB</span>","children":null,"spread":false},{"title":"sbl_example_r.m <span style='color:#111;'>1.92KB</span>","children":null,"spread":false},{"title":"sbl_postMode.m <span style='color:#111;'>2.21KB</span>","children":null,"spread":false},{"title":"demo_rvm.m <span style='color:#111;'>1.86KB</span>","children":null,"spread":false},{"title":"sbl_kernelFunction.m <span style='color:#111;'>2.51KB</span>","children":null,"spread":false},{"title":"setEnvironment.m <span style='color:#111;'>226B</span>","children":null,"spread":false},{"title":"getEnvironment.m <span style='color:#111;'>65B</span>","children":null,"spread":false}],"spread":true},{"title":"PlotResults.m <span style='color:#111;'>1.83KB</span>","children":null,"spread":false},{"title":"demo_rvm.m <span style='color:#111;'>2.36KB</span>","children":null,"spread":false},{"title":"ComputeResults.m <span style='color:#111;'>187B</span>","children":null,"spread":false},{"title":"ErrorStruct.m <span style='color:#111;'>317B</span>","children":null,"spread":false},{"title":"demo_rvm2.m <span style='color:#111;'>2.69KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • minhe1191357474:
    先给四星,希望有用2017-04-08

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明