亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? ica_adatap.m

?? ICA方法用于腦電圖分析的程序
?? M
?? 第 1 頁 / 共 3 頁
字號:
function [S,A,loglikelihood,Sigma,chi,exitflag]=ica_adatap(X,prior,par,draw);% ICA_ADATAP  Mean field independent component analysis (ICA)%    [S,A,LL,SIGMA,CHI,EXITFLAG]=ICA_ADATAP(X) performs linear %    instanteneous mixing ICA by solving the adaptive TAP or mean field %    or variational mean field equations [1-4].%   %    Input and output arguments: %      %    X        : Mixed signal%    A        : Estimated mixing matrix%    S        : Estimated source mean values                                   %    SIGMA    : Estimated noise covariance%    LL       : Log likelihood, log P(X|A,SIGMA), divided by  %               number of samples - mean field estimate%    CHI      : Estimated source covariances%    EXITFLAG : 0, no convergence; 1,  maximum number of iterations  %               reached and 2, convergence criteria met.  %%    Outputs are sorted in descending order according to 'energy'%    sum(A.^2,1))'.*sum(S.^2,2).%%    [S,A,LL,SIGMA,CHI]=ICA_ADATAP(X,PRIOR) allows for specification %    of priors on A, S, SIGMA and the method to be used. PRIOR.method %    overrides other choices of priors. PRIOR.A, PRIOR.S, Prior.Sigma %    and PRIOR.method are character strings that can take the following %    values%    %    PRIOR.A :            constant      constant mixing matrix %                         free          free likelihood optimization%                         positive      constrained likelihood %                                       optimization (uses QUADPROG)%                         MacKay        corresponding to MacKay's %                                       hyperparameter update%%    PRIOR.S :            bigauss       sum of two Gaussians, default%                                       variance 1 centered at +/-1.  %                         binary        binary +/-1 %                         binary_01     binary 0/1             %                         combi         combinations of other priors%                                       E.g. M1 binary_01's and M2%                                       exponential's are specified by%                                       PRIOR.S1='binary_01';%                                       PRIOR.M1=M1; %                                       PRIOR.S2='exponential'; %                                       PRIOR.M2=M2;%                         exponential   exponential (positive)%                         heavy_tail    heavy_tailed (non-analytic %  				        power law tail)%                         Laplace       Laplace (double exponential)%                         Gauss         Gaussian for factor analysis%                                       PRIOR.Sigma='diagonal' and%                                       probabilistic PCA %                                       PRIOR.Sigma='isotropic'%%    PRIOR.Sigma :        constant      constant noise covariance%                         free          free likelihood optimization %                         isotropic     isotropic noise covariance%                                       (scalar noise variance)%                         diagonal      different noise variance for %                                       each sensor.%%    PRIOR.method :       constant      constant A and Sigma %                                       for test sets. A and Sigma%                                       should initialized, see %                                       below. Sets prior.A='constant'%                                       and prior.Sigma='constant'.%                         fa            factor analysis (FA) sets%                                       prior.A='free', %                                       prior.S='Gauss' and%                                       prior.Sigma='diagonal'.%                         neg_kurtosis  negative kurtosis set%                                       prior.S='bigauss'.%                         pos_kurtosis  positive kurtosis sets%                                       prior.S='heavy_tail'. %                         positive      positive ICA sets%                                       prior.S='exponential' and%                                       prior.A='positive'.%                         ppca          probabilistic PCA (pPCA)%                                       sets prior.A='free', %                                       prior.S='Gauss' and %                                       prior.Sigma='isotropic'.%%    Default values are PRIOR.A='free', PRIOR.S='Laplace',%    PRIOR.Sigma='isotropic' and PRIOR.method not set.%%    [S,A,LL,SIGMA,CHI]=ICA_ADATAP(X,PRIOR,PAR) is used for giving %    additional arguments. PAR is a structure array with the %    following fields %   %       sources           Number of sources (default is quadratic%                         size(X,1)). This parameter is overridden %                         by size(PAR.A_init,2) if PAR.A_init is%                         defined.%       solver            method for solving mean field equations%                         can take the following character string%                         values, default is sequential: %%                         beliefprop2   Belief propagation -      %                                       Sequential second order %                                       method by T. Minka. %                         sequential    normal sequential iterative%                                       update (first order method) %                         %       A_init            Initial mixing matrix (default is Toeplitz%                         type with small randmom values).        %       S_init            Initial source values (default is zero).%       Sigma_init        Initial noise covariance (scalar for %                         isotropic). Default is Sigma_rel times%                         empirical covariance.%       Sigma_rel         See above, default 1 for PRIOR.A=%                         'A_positive' and 100 otherwise. %       max_ite           Maximum of A and SIGMA updates (default%                         is 20)%       S_max_ite         Maximum number of S update steps in each%                         E-step (default is 100)%       tol               Termination tolerance for program in %                         terms of relative change in 1-norm of %                         A and Sigma (default is 10^-3).%       S_tol             Termination tolerance for S updates in %                         terms of the squared error of the S%                         mean field equations (default is 10^-10).%%    [S,A,LL,SIGMA,CHI]=ICA_ADATAP(X,PRIOR,PAR,DRAW) with DRAW %    different from zero will output runtime information. DRAW%    equal to 2 will output the runtime value of the log %    likelihood. Default value is 1.%%    The memory requirements are O(M^2*N+D*N), where D is the %    number of sensors, N the number of samples (X is D*N) and M is %    the number of sources. The computational complexity is %    O(M^3*N) plus for positive mixing matrix, D times the %    computational complexity of a M-dimensional quadratic %    programming problem.   %%    It is recommended as a preprocessing step to normalize the %    data, e.g. by dividing by the largest element X=X/max(max(X)).%% References [1-4]:%%    Tractable Approximations for Probabilistic Models: The Adaptive %    Thouless-Anderson-Palmer Mean Field Approach%    M. Opper and O. Winther%    Phys. Rev. Lett. 86, 3695-3699 (2001).%%    Adaptive and Self-averaging Thouless-Anderson-Palmer Mean Field %    Theory for Probabilistic Modeling%    M. Opper and O. Winther%    Physical Review E 64, 056131 (2001). % %    Mean Field Approaches to Independent Component Analysis%    Pedro A.d.F.R. H鴍en-S鴕ensen, Ole Winther and Lars Kai Hansen%    Neural Computation 14, 889-918 (2002).%  %    TAP Gibbs Free Energy, Belief Propagation and Sparsity%    L. Csato, M. Opper and O. Winther%    In Advances in Neural Information Processing Systems 14 (NIPS'2001), %    MIT Press (2002). % - by Ole Winther 2002 - IMM, Technical University of Denmark% - http://isp.imm.dtu.dk/staff/winther/% - version 2.2% Uses adaptive TAP convention refs. [1,2] besides in the definition of the mean % function where it uses the ICA-convention of ref. [3]. [D,N]=size(X);                                                % number of sensor, samplestry prior=prior; catch prior=[]; end                          % make sure prior is defined%try par=par; catch par=[]; end                               % make sure par is defined[prior]=method_init(prior);                                   % initialize method[A,A_cmd,A_prior,M]=A_init(prior,par,D);                      % initialize AA_norm_old=norm(abs(A),1);                                    % quantify chance in A[S,S_mean_cmd_all,S_mean_cmd_seq,likelihood_cmd,likelihood_arg,... S_arg_seq,cS_prior,cM,S_prior]=S_init(prior,par,M,N);        % initialize S[Sigma,Sigma_cmd,Sigma_eta,Sigma_prior,Sigma_rel]=...Sigma_init(prior,par,A_prior,S_prior,X,A,S);                  % initialize Sigmadim_Sigma=size(Sigma,1)*size(Sigma,2);                        % number of elements in Sigma Sigma_norm_old=norm(abs(Sigma),1);                            % quantify chance in Sigma.try max_ite=par.max_ite; catch max_ite=20; end                % default maximum number of EM-steps try S_max_ite=par.S_max_ite; catch S_max_ite=100; end         % default maximum number of S updates in each E-step try S_min_ite=par.S_min_ite; catch S_min_ite=1; end           % default minimum number of S updates in each E-step try tol=par.tol; catch tol=10^-3; end                         % termination tolerance relative chance in norm(Sigma)+norm(A) try S_tol=par.S_tol; catch S_tol=10^-10; end; S_tolN=S_tol/N; % termination tolerance chance in dS.*dS try                                                           % default solver is sequential  switch par.solver    case {'beliefprop2','convergent'}      solver=par.solver;        otherwise      solver='sequential';  endcatch solver='sequential'; endtry draw=draw; catch draw=1; end                              % set draw % here starts the algorithm! if strcmp(solver,'beliefprop2')  fprintf(' ICA Adaptive TAP - %s solver\n',solver); else    fprintf(' ICA Linear Response - %s solver\n',solver); endfprintf(' %s source prior\n',S_prior); %s A and %s noise optimization\n',S_prior,A_prior,Sigma_prior); if strcmp(S_prior,'combi')  for i=1:length(cM)     if cM(i)==1 fprintf('   1 %s source prior\n',cS_prior{i});      else fprintf('   %i %s source priors\n',cM(i),cS_prior{i}); end  endendfprintf(' %s A and %s noise optimization\n',A_prior,Sigma_prior); fprintf(' sensors: D = %i\n sources: M = %i\n samples: N = %i\n\n',D,M,N); dS=zeros(M,N); S_old=zeros(M,N);chi=zeros(M,M,N); diagchi=zeros(M,N);G=zeros(M,M,N);diagG=zeros(M,N);hpred=zeros(M,1); V=zeros(M,N); dV=zeros(M,N); traceSS=zeros(M,M); tracechi=zeros(M,M);dA_rel=Inf; dSigma_rel=Inf;if draw   if dim_Sigma==D    fprintf(' noise variance = %g \n\n',sum(Sigma)/D);  else           fprintf(' noise variance = %g \n\n',trace(Sigma)/size(Sigma,1));  end  endEM_step=0;while EM_step<max_ite & (dA_rel>tol | dSigma_rel>tol)   EM_step=EM_step+1;  if dim_Sigma==D    InvSigma=1./Sigma;      for i=1:M  % set up matrices for M-step.      for j=i:M J(i,j)=-(A(:,i))'*(InvSigma.*A(:,j)); J(j,i)=J(i,j); end      for k=1:N h(i,k)=(A(:,i))'*(InvSigma.*X(:,k)); end    end        else    InvSigma=inv(Sigma);     J=-A'*InvSigma*A;    h=A'*InvSigma*X;  end  if EM_step>1 % heuristic for initializing V so that V<V_0    Vrel=repmat(diag(J)./diagJ,1,N); V=Vrel.*V;  else     V=zeros(M,N);  end  diagJ=diag(J);    V_0=-repmat(diag(J),1,N);  J=J-diag(diag(J));   S_ite=0;    dSdS=Inf;  dSdSN=Inf*ones(N,1);  I=1:N;  switch solver     case 'beliefprop2'      alpha=S;           Omega=zeros(M,N);      for i=1:N        G(:,:,i)=J;      end

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
青青草国产成人av片免费| 久久精品久久久精品美女| 久久久久99精品国产片| 日韩精品一区在线观看| 日韩欧美电影在线| 2020日本不卡一区二区视频| 精品国产污网站| wwwwxxxxx欧美| 欧美激情综合网| 亚洲欧美福利一区二区| 亚洲精品视频在线观看网站| 一区二区三区四区国产精品| 亚洲图片自拍偷拍| 日本成人中文字幕在线视频| 精品午夜一区二区三区在线观看| 国产一区欧美一区| 午夜久久电影网| 黑人巨大精品欧美一区| 欧美精品丝袜久久久中文字幕| 亚洲视频免费看| 成人国产一区二区三区精品| 精品国产一区久久| 激情久久五月天| 精品免费视频一区二区| 日韩精品一级中文字幕精品视频免费观看 | 亚洲精品视频在线观看网站| 国产aⅴ综合色| 久久久久久久久久久久久女国产乱 | 亚洲成在人线在线播放| 久色婷婷小香蕉久久| av电影在线观看完整版一区二区| 欧美日韩1区2区| 国产日韩视频一区二区三区| 一区二区欧美视频| 国产真实乱偷精品视频免| 91小视频在线| 精品国内二区三区| 亚洲午夜久久久| 国产成人精品亚洲777人妖 | 日韩一卡二卡三卡国产欧美| 国产精品拍天天在线| 天天综合天天做天天综合| 国产精品一区专区| 日韩一区二区三区四区| 国产精品二三区| 国产精品资源网站| 欧美精品国产精品| 亚洲精品午夜久久久| 国产乱子轮精品视频| 欧美色倩网站大全免费| 日韩精品一区二区三区视频播放| 亚洲欧洲精品一区二区三区不卡| 另类成人小视频在线| 欧美日韩精品一区视频| 国产精品不卡一区二区三区| 久久99精品国产.久久久久| 欧美日韩免费观看一区二区三区 | 亚洲一区二区三区在线播放| 国产a视频精品免费观看| 欧美一区二区三区小说| 亚洲国产精品一区二区久久恐怖片| 成人福利视频在线看| 精品国产污网站| 久久99久久精品欧美| 91精品午夜视频| 丝袜美腿亚洲一区二区图片| 在线观看一区不卡| 亚洲一卡二卡三卡四卡| 色猫猫国产区一区二在线视频| 国产精品三级电影| 不卡的av电影在线观看| 国产调教视频一区| 国产电影精品久久禁18| 久久久精品中文字幕麻豆发布| 精品一区二区久久久| 日韩女优制服丝袜电影| 麻豆freexxxx性91精品| 91精品国产一区二区| 美女免费视频一区| 国产日韩欧美综合一区| 国产精品影视在线| 国产精品久久夜| 色欧美日韩亚洲| 亚洲图片欧美视频| 日韩欧美国产综合一区| 美女诱惑一区二区| 国产欧美一区二区精品性色| 成人亚洲一区二区一| 亚洲图片激情小说| 欧美日韩精品专区| 麻豆久久久久久| 国产精品毛片久久久久久久| 色婷婷久久久久swag精品 | 国产成人超碰人人澡人人澡| 久久久精品国产免大香伊| 成人亚洲一区二区一| 亚洲永久免费av| 制服.丝袜.亚洲.另类.中文| 九九**精品视频免费播放| 中文字幕不卡在线播放| 欧美在线高清视频| 国产综合成人久久大片91| 国产精品成人在线观看| 欧美另类videos死尸| 国产剧情在线观看一区二区| 一区二区三区精品在线| 91精品国产aⅴ一区二区| 国产精品伊人色| 性久久久久久久久久久久| 久久伊人蜜桃av一区二区| 色综合色狠狠天天综合色| 日韩电影一二三区| 国产精品久久久久婷婷| 欧美一区二区三区四区视频| 国产69精品久久久久毛片| 日韩中文字幕区一区有砖一区| 久久女同性恋中文字幕| 欧美日韩亚洲综合| 成人99免费视频| 麻豆国产精品视频| 一区二区在线观看免费| 国产日韩欧美综合一区| 91精品国产综合久久久久久久| 东方aⅴ免费观看久久av| 日韩制服丝袜先锋影音| 亚洲日本va在线观看| 久久亚洲捆绑美女| 日韩精品专区在线影院重磅| 91色porny| 国产成人在线观看免费网站| 日韩不卡手机在线v区| 一区二区三区中文免费| 中文字幕亚洲成人| 国产亚洲精品资源在线26u| 日韩欧美亚洲另类制服综合在线 | 国产乱人伦偷精品视频免下载| 91免费视频观看| 国产精品18久久久久久久网站| 久久综合九色综合97婷婷| 宅男噜噜噜66一区二区66| 91久久免费观看| 欧美日韩国产综合一区二区三区 | 国产日韩精品视频一区| 日韩欧美国产一二三区| 欧美精品tushy高清| 欧美在线|欧美| 欧美色图片你懂的| 在线亚洲一区观看| 95精品视频在线| 91在线视频观看| 99国产精品国产精品毛片| 粉嫩aⅴ一区二区三区四区五区| 精品一区二区三区免费观看| 老司机精品视频在线| 精品一区二区三区在线观看| 久久99精品久久久久| 极品少妇xxxx精品少妇偷拍| 麻豆91在线看| 国产成人精品三级麻豆| 成人午夜激情视频| 99久久久国产精品| 欧美综合久久久| 91精品国产综合久久精品app| 91精品国产欧美一区二区| 欧美一区二区人人喊爽| 久久亚洲综合av| 中文字幕一区二区三区av| 一区二区三区视频在线看| 亚洲成a人在线观看| 日本成人中文字幕在线视频| 另类小说图片综合网| 丰满亚洲少妇av| 在线欧美小视频| 日韩精品一区二区三区四区视频| 久久日韩精品一区二区五区| 一区二区中文字幕在线| 亚洲一区电影777| 精品一区二区国语对白| 成人毛片老司机大片| 欧美日韩中文一区| www久久久久| 一区二区三区国产精品| 日本va欧美va精品发布| 国产·精品毛片| 欧美福利视频导航| 国产亚洲一区二区三区四区| 亚洲男帅同性gay1069| 久久精品国产亚洲一区二区三区| 波多野结衣一区二区三区| 欧美亚洲国产一区二区三区va| 欧美v国产在线一区二区三区| 中文字幕亚洲在| 日本不卡123| 91免费在线看| 久久精品一二三| 天堂va蜜桃一区二区三区| jizz一区二区| 欧美电影免费观看高清完整版在线 | 国模无码大尺度一区二区三区| 一本一道久久a久久精品 |