亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
av亚洲精华国产精华精| 日本成人在线网站| 精品国产三级a在线观看| 欧美日韩国产免费一区二区 | 欧美第一区第二区| 9191久久久久久久久久久| 欧美日精品一区视频| 欧美三级电影网站| 欧美一激情一区二区三区| 欧美日韩视频在线观看一区二区三区 | aaa欧美日韩| av一本久道久久综合久久鬼色| 成人免费观看视频| 国产 欧美在线| 99re8在线精品视频免费播放| 91在线精品秘密一区二区| 一本在线高清不卡dvd| 99re在线视频这里只有精品| 色av一区二区| 91精品国产高清一区二区三区蜜臀| 日韩视频在线一区二区| 欧美极品少妇xxxxⅹ高跟鞋| 亚洲欧美自拍偷拍| 亚洲国产精品人人做人人爽| 免费在线观看一区| 国产酒店精品激情| 色94色欧美sute亚洲13| 欧美日本在线一区| 欧美成人精品1314www| 日本一区二区久久| 一级做a爱片久久| 美女视频黄频大全不卡视频在线播放 | 亚洲一二三四久久| 久久精品国产99| voyeur盗摄精品| 欧美人xxxx| 国产欧美日韩精品一区| 亚洲黄色免费电影| 精品一区二区三区蜜桃| 97久久久精品综合88久久| 欧美日韩高清在线| 国产精品久久久久久久久图文区 | 国内精品国产成人国产三级粉色| 国产综合久久久久影院| 色欲综合视频天天天| 日韩天堂在线观看| 亚洲精品日产精品乱码不卡| 国产一区二区在线看| 在线免费亚洲电影| 欧美激情一区在线观看| 日韩av中文字幕一区二区| 91在线视频播放| 久久众筹精品私拍模特| 天天免费综合色| 色综合久久综合中文综合网| 久久久久久电影| 偷窥国产亚洲免费视频| 色欧美88888久久久久久影院| 精品国产免费久久| 日韩精品五月天| 91黄色小视频| 亚洲欧美日韩国产手机在线 | 亚洲午夜电影网| 成人99免费视频| 久久久精品国产免大香伊| 蜜桃精品视频在线观看| 欧美三级视频在线播放| 亚洲欧美另类图片小说| 成人一二三区视频| 国产日韩视频一区二区三区| 91黄色激情网站| 中文字幕一区在线观看| 大美女一区二区三区| 日本一二三不卡| 成人精品视频网站| 国产精品美女久久久久久久| 国产成人自拍网| 国产精品美女久久久久久2018| 高清不卡在线观看| 久久午夜羞羞影院免费观看| 精品综合久久久久久8888| 日韩欧美国产1| 国产精品亚洲成人| 中文字幕精品综合| 91在线观看成人| 亚洲国产精品一区二区久久| 欧美日韩免费视频| 青青国产91久久久久久| 精品国产自在久精品国产| 国产剧情一区在线| 亚洲欧洲国产专区| 91成人网在线| 蜜臀av性久久久久蜜臀aⅴ流畅 | 成人免费av网站| 亚洲色图19p| 欧美精品粉嫩高潮一区二区| 久久精品国产亚洲a| 久久一区二区三区国产精品| 成人免费av资源| 偷窥国产亚洲免费视频 | 国产不卡在线视频| 亚洲欧美一区二区久久| 91精品国产欧美一区二区18| 国产真实乱对白精彩久久| 中文成人综合网| 欧美日韩视频第一区| 韩日欧美一区二区三区| 中文字幕日韩av资源站| 欧美精选在线播放| 懂色一区二区三区免费观看| 亚洲综合自拍偷拍| 日韩欧美激情四射| 99re8在线精品视频免费播放| 午夜久久久影院| 日本一区二区三区高清不卡| 欧美日韩中文字幕一区| 色综合久久综合网欧美综合网| 视频一区二区欧美| 国产精品乱子久久久久| 这里只有精品电影| 色综合久久久网| 玖玖九九国产精品| 亚洲精品成人a在线观看| 精品久久人人做人人爽| 在线观看成人小视频| 国产在线精品一区二区| 亚洲一区二区在线免费看| 久久色在线视频| 91精品一区二区三区在线观看| 97国产一区二区| 久久成人免费网站| 亚洲成人福利片| 国产精品二三区| 国产色一区二区| 精品剧情v国产在线观看在线| 欧美性猛片xxxx免费看久爱| www.色精品| 成人午夜免费av| 国产成人午夜电影网| 久久99精品国产麻豆不卡| 日日噜噜夜夜狠狠视频欧美人| 亚洲另类在线视频| 国产欧美精品一区| 久久久国产精品不卡| 精品久久久网站| 欧美电视剧免费观看| 欧美一区二区精美| 欧美一级片在线| 777色狠狠一区二区三区| 欧美日韩一区二区三区高清| 91国偷自产一区二区使用方法| 99国产精品久久| 色视频欧美一区二区三区| 色94色欧美sute亚洲13| 91成人看片片| 欧美天堂一区二区三区| 精品国产乱码久久久久久蜜臀| 日韩一区二区三区四区五区六区| 制服丝袜日韩国产| 日韩欧美在线综合网| 精品久久久久久最新网址| 精品少妇一区二区三区日产乱码| 欧美成人官网二区| 久久久高清一区二区三区| 国产日韩精品一区二区浪潮av| 久久久美女毛片| 中文字幕一区二区在线播放| 国产精品不卡在线观看| 亚洲国产视频直播| 日本不卡免费在线视频| 国产在线播精品第三| gogo大胆日本视频一区| 欧美日韩一二三区| 日韩欧美成人一区| 中文字幕免费在线观看视频一区| 亚洲欧洲另类国产综合| 夜夜精品视频一区二区| 美女视频网站久久| jvid福利写真一区二区三区| 欧美视频一区二区三区| 91精品国产全国免费观看| 国产色一区二区| 一区二区三区在线视频免费| 蜜乳av一区二区| 国产成人午夜精品5599| 欧美色偷偷大香| 日韩精品一区二区三区在线| 国产精品免费丝袜| 成人精品国产免费网站| 91精品1区2区| 久久精品网站免费观看| 一卡二卡欧美日韩| 国产精品18久久久久久vr| 欧美亚洲丝袜传媒另类| 久久久久一区二区三区四区| 亚洲综合男人的天堂| 国产成人a级片| 欧美精品日韩综合在线| 国产精品国产三级国产普通话蜜臀 | 国产精品久久久久精k8|