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

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? ica_adatap.m

?? ICA can be used in brain activation studies to reduce the number of dimension and filter out indepen
?? M
?? 第 1 頁(yè) / 共 3 頁(yè)
字號(hào):
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

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲成人自拍一区| 亚洲午夜久久久久| 欧美午夜一区二区| 高清在线成人网| 成人少妇影院yyyy| 日韩 欧美一区二区三区| 国产精品久久久久一区| 日韩一级在线观看| 久久综合资源网| 在线观看欧美黄色| aaa国产一区| 国产成人av一区二区三区在线| 日韩国产精品久久久久久亚洲| 亚洲色图19p| 国产日韩欧美a| 精品国产91洋老外米糕| 欧美一区二区在线观看| 91国产福利在线| 91在线观看地址| 国产成a人亚洲精| 国产一区二区三区美女| 麻豆成人91精品二区三区| 亚洲6080在线| 亚洲电影一区二区三区| 亚洲精品成人少妇| 亚洲精品亚洲人成人网| 国产精品日韩精品欧美在线| 久久精品日韩一区二区三区| 欧美tickling挠脚心丨vk| 欧美一区二区三区啪啪| 欧美人动与zoxxxx乱| 欧美日韩黄色一区二区| 欧美三级电影网站| 欧美日本视频在线| 欧美视频一区在线观看| 欧美午夜片在线观看| 日本道免费精品一区二区三区| 91视频在线观看| 91女厕偷拍女厕偷拍高清| aaa亚洲精品| 色哟哟精品一区| 在线视频国内自拍亚洲视频| 欧洲一区二区三区在线| 精品视频一区二区不卡| 欧美三级蜜桃2在线观看| 欧美日韩国产天堂| 欧美三级电影网站| 日韩一区二区三区视频在线观看| 欧美mv日韩mv| 久久久久99精品一区| 亚洲国产成人在线| 亚洲天堂免费在线观看视频| 亚洲在线视频一区| 日本午夜精品视频在线观看| 精品一区二区三区日韩| 国产成人精品一区二| av动漫一区二区| 欧美亚洲免费在线一区| 欧美一区二区三区在| 26uuu精品一区二区三区四区在线| 26uuu精品一区二区| 国产精品国产三级国产普通话99 | 在线一区二区三区做爰视频网站| 色婷婷综合久久久久中文一区二区 | 亚洲第一福利一区| 免费欧美在线视频| 国产福利一区二区三区视频在线 | 成人激情文学综合网| av在线不卡免费看| 欧美群妇大交群的观看方式| 精品国精品国产| 亚洲图片激情小说| 男人的j进女人的j一区| 懂色av一区二区在线播放| 色狠狠综合天天综合综合| 日韩一区二区三区视频| 国产精品视频线看| 日韩精品91亚洲二区在线观看| 激情欧美日韩一区二区| 色视频欧美一区二区三区| 日韩一区二区在线看| 中文字幕一区二区三| 日韩电影免费一区| a在线播放不卡| 日韩欧美在线1卡| 中文字幕日韩av资源站| 蜜芽一区二区三区| 97精品国产露脸对白| 欧美成人激情免费网| 伊人色综合久久天天人手人婷| 日本午夜一本久久久综合| 91丨porny丨蝌蚪视频| 日韩你懂的在线观看| 一区二区在线看| 国产乱人伦偷精品视频不卡| 欧美日韩国产不卡| 国产精品电影一区二区三区| 久久精品噜噜噜成人88aⅴ| 91亚洲精品久久久蜜桃网站| 久久老女人爱爱| 日日夜夜一区二区| 色哟哟国产精品免费观看| 久久九九全国免费| 免费在线观看一区二区三区| 色综合中文综合网| 日韩视频免费观看高清完整版 | 国产自产高清不卡| 欧美人伦禁忌dvd放荡欲情| 中文字幕一区二区三中文字幕| 精品无人码麻豆乱码1区2区| 欧美嫩在线观看| 亚洲精品国产无天堂网2021| 成人app下载| 国产色产综合产在线视频| 免费高清不卡av| 欧美日韩免费观看一区二区三区| 亚洲欧美成人一区二区三区| 成人av免费网站| 欧美激情一区在线| 国产成人夜色高潮福利影视| 亚洲精品一区二区三区蜜桃下载 | 国产欧美日韩精品a在线观看| 午夜国产精品影院在线观看| 一本大道久久a久久综合| 国产欧美精品一区二区色综合朱莉| 麻豆专区一区二区三区四区五区| 欧美日韩卡一卡二| 亚洲成人激情社区| 欧美日韩一区成人| 亚洲高清中文字幕| 欧洲中文字幕精品| 亚洲福利一区二区| 9191久久久久久久久久久| 亚洲电影欧美电影有声小说| 欧美日韩在线三区| 午夜精品福利一区二区三区蜜桃| 欧美日韩综合在线免费观看| 一区二区三区毛片| 欧美美女直播网站| 日本中文在线一区| 精品嫩草影院久久| 国产乱子轮精品视频| 国产欧美一区二区精品秋霞影院| 国产精品一区在线观看乱码| 日本一区二区免费在线观看视频 | 久久99精品久久久久婷婷| 精品久久久久av影院| 成年人午夜久久久| 亚洲日本免费电影| 国产精品的网站| 91在线视频18| 亚洲国产精品尤物yw在线观看| 欧美体内she精视频| 日韩在线一区二区三区| 91精品福利在线一区二区三区 | 精品一区二区成人精品| 精品成人在线观看| 成人一道本在线| 亚洲精品国产品国语在线app| 欧美日韩亚洲不卡| 老司机精品视频在线| 国产精品水嫩水嫩| 91久久奴性调教| 蜜臀av在线播放一区二区三区| 久久综合色综合88| 成人av电影在线播放| 午夜伊人狠狠久久| 久久奇米777| 日本韩国一区二区| 久久99国产精品免费网站| 国产亚洲精品bt天堂精选| 在线中文字幕一区| 欧美a级理论片| 亚洲天堂精品视频| 欧美日韩色一区| 国产超碰在线一区| 亚洲综合男人的天堂| 欧美成人欧美edvon| 91亚洲国产成人精品一区二区三 | 91精选在线观看| 国产成人精品1024| 性做久久久久久久久| 国产日韩欧美在线一区| 在线看一区二区| 国产福利一区在线观看| 亚洲电影一级黄| 国产精品久久久久久久久动漫| 国产亚洲综合性久久久影院| 色一情一乱一乱一91av| 精品夜夜嗨av一区二区三区| 一区二区三区国产| 久久精品人人做人人爽人人| 欧美视频一区在线| 北岛玲一区二区三区四区| 麻豆精品一区二区综合av| 亚洲精品美国一| 亚洲国产精品激情在线观看| 51午夜精品国产| 日本高清不卡视频| 国产.欧美.日韩|