-
大小: 2KB文件类型: .zip金币: 1下载: 0 次发布日期: 2021-01-10
- 语言: Matlab
- 标签:
资源简介
Sparse Bayesian Learning,Basis Selection,稀疏贝叶斯学习算法,压缩感知,matlab仿真
代码片段和文件信息
function [ w ] = sblBasisSel( t phi nEmItr )
% Implements Sparse Bayesian Learning Basis Selection for overcomplete
% dictionaries.
%
% References:
% Tipping M. E. (2001). Sparse Bayesian learning and the relevance vector
% machine. Journal of Machine Learning Research 1 211?44.
nObs = length(t);
nBasis = size(phi2);
% Initialize Parameters
nextItrSigmaSq = 1; % noise variance
nextItrGamma = eye(nBasis); % prior hyperparameters gamma = diag{hyperparams}
% Evidence Approximation using EM
for itEM = 1:nEmItr % TODO : add covergence criteria
% Assign new values to paramters
gamma = nextItrGamma;
sigmaSq = nextItrSigmaSq;
% Compute new parameters
cov_t = sigmaSq*eye(nObs) + phi*gamma*phi‘;
cov_w = gamma - gamma*phi‘/cov_t*phi*gamma;
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2008-02-01 19:13 sblDecoder\
文件 1091 2012-06-04 20:03 sblDecoder\sblBasisSel.m
文件 1503 2012-06-04 20:10 sblDecoder\sblDecode.m
文件 1090 2012-06-04 20:58 sblDecoder\test.m
评论
共有 条评论