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

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

?? informax.m

?? 這是盲信號的代碼 都已經通過編譯了 做這方面的同仁可以參考一下 我覺得蠻慣用的
?? M
字號:
%***********************************************************
%%***********************************************************
%********* BASIC SOURCE SEPARATION CODE, 23 Jan 1996 *******
%********* Tony Bell, **************************************
%********* CNL, Salk Institute, PO Box 85800, San Diego ****
%********* tony@salk.edu, ********************************** 
%********* http://www.cnl.salk.edu/~tony/ ******************
%***********************************************************
%***********************************************************
%****************** If you find this useful, ***************
%************** I appreciate an acknowledgement! ***********
%***********************************************************
%***********************************************************
%
%Below are 5 MATLAB files.

%1. readsounds.m, for reading the data in
%2. sep.m, the code for one learning pass thru the data
%3. sepout.m, for optional text output
%4. wchange.m, tracks size and direction of weight changes 
%5. sep.run, an example script for 2->2 separation

%The following variables are used:

%sweep:    how many times you've gone thru the data
%P:        how many timepoints in the data
%N:        how many input (mixed) sources there are
%M:        how many outputs you have
%L:        learning rate
%B:        batch-block size (ie: how many presentations per weight update.)
%t:        time index of data
%sources:  NxP matrix of the N sources you read in
%x:        NxP matrix of mixtures
%u:        MxP matrix of hopefully unmixed sources
%a:        NxN mixing matrix
%w:        MxN unmixing matrix (actually w*wz is the full unmixing matrix
%          in this case)
%wz:       zero-phase whitening: a matrix used to remove 
%          correlations from between the mixtures x. Useful as a 
%          preprocessing step.
%noblocks: how many blocks in a sweep;
%oldw:     value of w before the last sweep
%delta:    w-oldw
%olddelta: value of delta before the last sweep
%angle:    angle in degrees between delta and olddelta
%change:   squared length of delta vector 
%Id:       an identity matrix
%permute:  a vector of length P used to scramble the time order of the
%          sources for stationarity during learning.
%
%INITIAL w ADVICE: identity matrix is a good choice, since, for prewhitened
%data, there will be no distracting initial correlations, and the output
%variances will be nicely scaled so <uu^T>=4I, right size to fit the 
%logistic fn (more or less).

%LEARNING RATE ADVICE: 
%N=2: L=0.01 works
%N=8-10: L=0.001 is stable. Run this till the 'change' report settles
%down, then anneal a little. L=0.0005,0.0002,0.0001 etc, a few passes
%(= a few 10,000's of data vectors) each pass.
%N>100: L=0.001 works well on sphered image data.
%
%***********************************************************
%*************************readsounds.m**********************
%***********************************************************
%<<<<<cut here>>>>

% READSOUNDS looks in a directory "sounds/" for sound files  and 
%   returns them in a NxP matrix called "sounds" where N is the number 
%   of sounds specified, and P is the length of the shortest one (the 
%   others are truncated). One caveat: the filenames MUST all have the 
%   same number of characters since they are stored in a matrix (what else?!).
%
%   Example call: 
%         sounds=readsounds(['word2';'word1']);

function sounds=readsounds(files)
  minlen=1e10;
  for fileno=1:size(files,1),
    fprintf('reading %s \n', files(fileno,:));
    temp=auread(['/home/tony/Matlab/sounds/' files(fileno,:)])';
    len=size(temp,2);
    if minlen>len, minlen=len; end;
    sounds(fileno,1:minlen)=temp(1:minlen);
  end;
  sounds=sounds(:,1:minlen);

%<<<<<cut here>>>>
%***********************************************************
%*************************sep.m*****************************
%***********************************************************
%<<<<<cut here>>>>
% SEP goes once through the scrambled mixed speech signals, x 
% (which is of length P), in batch blocks of size B, adjusting weights,
% w, at the end of each block.
%
% I suggest a learning rate L, of 0.01 at least for 2->2 separation.
% But this will be unstable for higher dimensional data. Test it.
% Use smaller values. After convergence at a value for L, lower
% L and it will fine tune the solution.
%
% NOTE: this rule is the rule in our NC paper, but multiplied by w^T*w,
% as proposed by Amari, Cichocki & Yang at NIPS '95. This `natural
% gradient' method speeds convergence and avoids the matrix inverse in the 
% learning rule.

sweep=sweep+1; t=1;
noblocks=fix(P/B);
BI=B*Id;
for t=t:B:t-1+noblocks*B,
  u=w*x(:,t:t+B-1); 
  w=w+L*(BI+(1-2*(1./(1+exp(-u))))*u')*w;
end;
sepout

<<<<<cut here>>>>
*********************************************************************
**********sepout.m: for various textual output during learning*******
*********************************************************************
<<<<<cut here>>>>

% SEPOUT - put whatever textual output report you want here.
%  Called after each pass through the data.
%  If your data is real, not artificially mixed, you will need
%  to comment out line 4, since you have no idea what the matrix 'a' is.
% 
[change,olddelta,angle]=wchange(oldw,w,olddelta); 
oldw=w;
fprintf('****sweep=%d, change=%.4f angle=%.1f deg., [N%d,M%d,P%d,B%d,L%.5f] \n',...
   sweep,change,180*angle/pi,N,M,P,B,L);
w*wz*a     %should be a permutation matrix for artif. mixed data.

<<<<<cut here>>>>
*********************************************************************
********wchange.m: tracks size and direction of weight changes ******
*********************************************************************
<<<<<cut here>>>>

function [change,delta,angle]=wchange(w,oldw,olddelta)
  [M,N]=size(w); delta=reshape(oldw-w,1,M*N);
  change=delta*delta';
  angle=acos((delta*olddelta')/sqrt((delta*delta')*(olddelta*olddelta')));

<<<<<cut here>>>>
*********************************************************************
*************sep.run: an example script for 2->2 separation *********
*********************************************************************
<<<<<cut here>>>>

%*************** setup sources **********
format compact

%**** if you are mixing the sources yourself:

sources=readsounds(['word2';'word1']); % see "help readsounds"
sources=readsounds(['word2';'word1';'whdru';'whis1';'whis2';'wittg';'whdr2';'whdr3']); % see "help readsounds"
  % write your own code here, since readsounds looks for audiofiles.
  % All you want is a NxP matrix (N=no of mixtures/sources, P=no. of data points)
[N,P]=size(sources);                 % P=17408, N=2, for example
permute=randperm(P);                 % generate a permutation vector
s=sources(:,permute);                % time-scrambled inputs for stationarity

a=[1 2; 1 1]                         % mixing matrix, or:  a=rand(N);
x=a*s;                               % mix input signals (permuted)
mixes=a*sources;                     % make mixed sources (not permuted)

%**** if you are loading already-mixed sources:

mixes=readsounds(['mix2';'mix1']);  % see "help readsounds"

%**** sphere the data
mx=mean(mixes'); c=cov(mixes');
x=x-mx'*ones(1,P);                   % subtract means from mixes
wz=2*inv(sqrtm(c));                  % get decorrelating matrix
x=wz*x;                              % decorrelate mixes so cov(x')=4*eye(N);

%**** 
%w=[1 1; 1 2];                       % init. unmixing matrix, or w=rand(M,N);
w=eye(N);                            % init. unmixing matrix, or w=rand(M,N);
M=size(w,2);                            % M=N usually
sweep=0; oldw=w; olddelta=ones(1,N*N);
Id=eye(M);

%************* this learns: "help sep" explains all 

L=0.01; B=30; sep    % should converge on 1 pass for 2->2 net
L=0.001; B=30; sep   % but annealing will improve soln even more 
L=0.0001; B=30; sep  % and so on

%for multiple sweeps:
L=0.005; B=30; for I=1:10000, sep; end;
%***************************************

mixes=a*sources;       % make mixed sources
sound(mixes(1,:))      % play the first one (if it is audio)
plot(mixes(1,:))       % plot the first one (if it is another signal)
uu=w*wz*mixes;            % make unmixed sources
sound(uu(1,:))         % play the first one (if it is audio)
plot(uu(1,:))          % plot the first one (if it is another signal)


?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91片黄在线观看| 97精品超碰一区二区三区| 亚洲欧美经典视频| 中文字幕免费不卡在线| 精品av综合导航| 久久五月婷婷丁香社区| 精品国产乱码久久久久久图片| 欧美日韩精品免费观看视频| 欧美色窝79yyyycom| 欧美色爱综合网| 678五月天丁香亚洲综合网| 91福利精品第一导航| 欧美亚洲高清一区二区三区不卡| 一本色道亚洲精品aⅴ| 在线免费亚洲电影| 欧美日韩精品是欧美日韩精品| 欧美情侣在线播放| 精品欧美一区二区久久| 久久免费国产精品 | 亚洲精品国产a| 一区二区三区精品| 日韩影院免费视频| 国产在线精品免费av| av一区二区三区黑人| 欧美性色黄大片| 精品粉嫩超白一线天av| 国产精品全国免费观看高清| 亚洲欧美日韩一区| 日韩精品久久久久久| 激情亚洲综合在线| 97se亚洲国产综合自在线| 欧美日韩一区精品| 国产亚洲视频系列| 亚洲一二三专区| 国产精品亚洲а∨天堂免在线| 99久久夜色精品国产网站| 欧美美女直播网站| 国产亚洲1区2区3区| 美女精品自拍一二三四| 99久久精品国产精品久久| 欧美日韩日日夜夜| 国产欧美日韩在线| 亚洲成a人在线观看| 国产毛片精品一区| 91久久精品网| 国产欧美va欧美不卡在线| 一区二区三区欧美| 国产凹凸在线观看一区二区| 欧美午夜精品理论片a级按摩| 久久亚洲免费视频| 视频在线观看91| 一本一道久久a久久精品| 日韩欧美成人激情| 午夜精品久久久久影视| www.久久久久久久久| 精品国产一区久久| 亚洲一二三区视频在线观看| 国产91精品久久久久久久网曝门| 911精品国产一区二区在线| 国产精品久久久久久久久晋中 | 亚洲综合色成人| 国产精品亚洲人在线观看| 日韩一区二区三区三四区视频在线观看 | av午夜一区麻豆| 久久久午夜精品理论片中文字幕| 日韩精品三区四区| 欧美精品丝袜中出| 亚洲一区二区三区四区在线免费观看 | 日韩精品一区二区三区蜜臀| 亚洲成va人在线观看| 欧美唯美清纯偷拍| 有坂深雪av一区二区精品| 91香蕉国产在线观看软件| 久久精品无码一区二区三区| 久久精品99国产精品| 日韩丝袜美女视频| 蜜桃视频在线观看一区二区| 欧美理论电影在线| 天堂av在线一区| 欧美精品v日韩精品v韩国精品v| 夜夜操天天操亚洲| 日本高清不卡在线观看| 亚洲中国最大av网站| 欧美在线三级电影| 午夜精品久久久久久久蜜桃app| 精品视频在线视频| 日本不卡一区二区| 日韩欧美亚洲国产精品字幕久久久| 日韩av中文字幕一区二区三区| 欧美肥妇毛茸茸| 免费在线看成人av| 久久精品欧美日韩精品| 成人性视频免费网站| 亚洲人成网站色在线观看| 日本黄色一区二区| 日欧美一区二区| 亚洲精品一区二区三区福利| 国产高清在线观看免费不卡| 中文字幕一区二区三区四区不卡| 色综合天天综合| 美女视频网站黄色亚洲| 日韩一级片在线播放| 国产精一区二区三区| 亚洲精品欧美在线| 日韩一级高清毛片| eeuss影院一区二区三区 | 99久久婷婷国产| 一区二区三区电影在线播| 欧美精品久久一区二区三区| 国产毛片精品一区| 亚洲视频免费在线| 91精品国产综合久久福利软件| 国内精品伊人久久久久av影院| 亚洲三级在线播放| 欧美一区二区大片| 成人av集中营| 免费美女久久99| 亚洲日本在线天堂| 精品盗摄一区二区三区| 欧美中文字幕一二三区视频| 久久激五月天综合精品| 一区二区久久久久| www成人在线观看| 欧美日韩午夜在线| av一区二区三区| 精品中文av资源站在线观看| 夜夜嗨av一区二区三区网页 | 99久久99久久精品免费观看| 天天色综合成人网| 国产精品久久免费看| 日韩精品最新网址| 欧美私模裸体表演在线观看| 成人免费视频视频在线观看免费| 日韩专区中文字幕一区二区| 亚洲乱码国产乱码精品精的特点 | 成人美女在线视频| 免费成人在线视频观看| 一区二区欧美精品| 国产精品久久久久久久久晋中| 欧美大片在线观看一区二区| 欧美日韩中字一区| 在线一区二区三区四区| www.欧美日韩国产在线| 国产91色综合久久免费分享| 久久99久久精品欧美| 亚洲第一综合色| 亚洲综合久久av| 亚洲激情五月婷婷| 一区二区三区国产精品| 亚洲狼人国产精品| 亚洲欧美区自拍先锋| 亚洲人午夜精品天堂一二香蕉| 中文字幕一区二区三区av| 国产欧美日韩不卡免费| 中文字幕高清一区| 国产精品成人在线观看| 亚洲天堂精品在线观看| 国产在线视频精品一区| 免费成人av资源网| 久久成人免费日本黄色| 韩国精品主播一区二区在线观看| 美腿丝袜亚洲色图| 国产在线视频一区二区三区| 国产精品一区二区三区乱码| 国产精品一区二区久久不卡| 懂色av噜噜一区二区三区av| 国产精品亚洲专一区二区三区| 国产98色在线|日韩| 91同城在线观看| 欧美视频一区二| 日韩视频一区在线观看| 久久蜜桃av一区二区天堂| 国产精品免费视频观看| 亚洲免费观看视频| 日韩国产高清在线| 久久激情五月婷婷| 国产精品88av| 91官网在线免费观看| 欧美一级一区二区| 国产欧美精品一区aⅴ影院| 亚洲欧美偷拍卡通变态| 日韩**一区毛片| 国产suv精品一区二区6| 欧美亚洲国产一区在线观看网站 | 欧美不卡激情三级在线观看| 国产午夜精品久久久久久久| 中文字幕一区二区三中文字幕| 亚洲一区二区三区影院| 国产揄拍国内精品对白| 色综合天天性综合| 日韩美女主播在线视频一区二区三区 | 欧美精品 日韩| 国产亚洲女人久久久久毛片| 亚洲女人的天堂| 日本va欧美va精品| 北条麻妃国产九九精品视频| 91精品国产综合久久久蜜臀粉嫩| 国产片一区二区| 麻豆视频观看网址久久| 成人v精品蜜桃久久一区|