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

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

?? bnbestfit_old.m

?? Speaker Verification Toolbox
?? M
字號(hào):
function E = bnBestFit_old(D,IO,Ind,w,k,emax,pinfo)

% E = bnBestFit_old(D,IO,Ind,w,k,emax,pinfo) - Gene regulatory network inference
%
% bnBestFit performs a gene regulatory network inference under the Boolean
% network model for a set of "interesting" genes. The function outputs a
% "row-matrix" E containing the histograms of the error size (ref. Best-Fit
% Extension Paradigm) for all the interesting genes.
%
% Input variables:
% D     - Binary input matrix. D(i,:) corresponds to the (binary) expression
%         profile of the i:th gene. Correspondingly, D(:,j) represents the
%         gene activity profile for the j:th time index.
% IO    - Indices which define the input-output column pairs in the data
%         matrix D. The first and the second row define the input and output
%         columns in the matrix D. For example, IO(1,i) defines the i:th
%         input column vectors (the i:th gene activity profile), and IO(2,i)
%         defines the corresponding output activity profile. Each index in
%         IO must be between 1 and size(D,2). This parameter allows to
%         infer functions from separate time-series or even from the
%         steady-state data. That is, one can also set IO(1,i) == IO(2,i).
% Ind   - Index vector containing indices of the "interesting" genes. All
%         elements of Ind must be between 1 and size(D,1).
% w     - Weight vector containing positive weights for the measurements in
%         D. For now, the implementation only allows to define a single
%         weight for each column in D. In particular, the weight w(i)
%         defines the weight for the i:th input vector.
% k     - Maximum indegree.
% emax  - Maximum allowable error size.
% pinfo - An optional vector that defines the start and stop index of
%         the "main" loop (see below) and the first variable combination.
%         The start and stop indices are defined by pinfo(1) and pinfo(2).
%         The first variable combination is defined by the elements
%         pinfo(3:end) = pinfo(3:k+2)
%
% Output variables:
% E     - "Row-matrix" of the histograms of the error size (ref. Best-Fit
%         Extension Paradigm) for all the "interesting" genes.
%
% Functions used: BINARRAY2DEC, NEXTNCHOOSEK, DISTORTIONVECTORS

% 09.04.2002 by Harri L鋒desm鋕i
% Modified: 22.10.2002 by HL: The code was sped up. 29.10.2002 by HL:
% Name changed and one input parameter added. Now more than one time-series
% (i.e. concatenation of several time-series) can be used. Even a
% combination of time-series and steady-state data is allowed.

% Note that one possible way of speeding up the code is to form separate
% input and output data matrices. That would decrease the number of indexing
% in the main loop. This may, however, cause problems in the case of huge
% data sets and large number of "interesting" genes... Also, function
% DistortionVectors should be "checked".


% Two to the power of k (needed often).
kk = 2^k;

% The number of all genes.
n = size(D,1);
% The number of "useable" measurements.
m = size(IO,2);
%m = size(D,2)-1;
% The number of "interesting" genes.
ni = length(Ind);

%------------------------------
% Output values.
%Out = D(Ind,IO(2,:));

% Input vectors (examples).
%D = D(:,IO(1,:));
%------------------------------

% This matrix (C01) has the role of c^(0) and c^(1) for all interesting
% genes. Further, C01 = [c^(0),c^(1)];
C01 = zeros(ni,2*kk);
sC01 = size(C01);

% A temporary index vector. Not currently used. This is needed, however, if
% binary input strings are converted into decimal numbers by using a method
% based on bitset-function.
t1 = [1:ni];

% Powers of two (used in binarray2dec).
b = 2.^[k-1:-1:0]';

% Initialize the output to zero matrix.
E = zeros(ni,emax+1);

% The number of different variable combinations.
varnum = nchoosek(n,k);

% If pinfo exists, the start and stop indices of the "main" loop are taken
% from it.
% The first k variables, i.e., I = [1,2,...,k];.
I = [1:k];
starti = 1;
stopi = varnum;
if nargin>=7
    starti = pinfo(1);
    stopi = pinfo(2);
    I = pinfo(3:k+2);
end % if nargin>=7

disp('Process info:');
disp(['Start index: ',num2str(starti)]);
disp(['Stop index: ',num2str(stopi)]);
disp(['First variable comb.: ',num2str(I)]);

% Run through all variable combinations.
for i=starti:stopi
    
    % Initialize again.
    C01 = zeros(ni,2*kk);
    
    % Run through all measurements. This loop also takes into account possible
    % multiplisities in measurements, i.e., computes new weights for those
    % measurements that appear several times in T (and/or F).
    for j=1:m
        % The current input as a decimal number to be used to index the matrix
        % C01.
        %dn = binarr2dec(D(I,IO(1,j))',b) + 1;
        % Try to avoid unneccary function calls... does the same thing as the
        % previous line.
        dn = D(I,IO(1,j))'*b + 1;
        % Yet another way to convert the binary string into a decimal
        % number. Seems to be as fast as the previous line.
        %dn = sum(bitset(0,t1(logical(D(I,IO(1,j)))))) + 1;
        
        % Update C01 (c^(0) and c^(1)).
        % First update left half (C0) and then right half (C1)
        C01(logical(1-D(Ind,IO(2,j))),dn) = C01(logical(1-D(Ind,IO(2,j))),dn) + w(j);
        C01(logical(D(Ind,IO(2,j))),kk+dn) = C01(logical(D(Ind,IO(2,j))),kk+dn) + w(j);
    end % for j=1:m
    
    % Absolute difference between c^(0) and c^(1).
    C = abs(C01(:,1:kk)-C01(:,kk+1:end));
    
    % Find all proper functions using this variable combination. Perform the
    % search for all the interesting nodes.
    for j=1:ni
        % Compute the optimal function and the corresponding error size.
        t6 = [C01(j,1:kk);C01(j,kk+1:end)];
        t5 = min(t6);
        %[t5,fopt] = min(t6);
        % fopt = fopt - 1;
        % fopt = 1 - fopt;
        eopt = sum(t5);
        
        % Find proper distortion vector, if the optimal error size is less
        % than or equal to emax.
        if eopt<=emax
            % Sort |c^(0)-c^(1)|.
            c = sort(abs(C(j,:)));
            % The first distortion vector and set of proper distortion vectors.
            d = zeros(1,kk);
            DD = d;
            % Apply function DistortionVectors that will return a row-matrix of
            % proper (permuted) distortion vectors.
            DD = DistortionVectors(d,eopt,0,DD,c,emax);
            % Compute the error sizes for all proper (permuted) distortion
            % vectors.
            DD = eopt*ones(size(DD,1),1) + DD*c';
            % Update the distribution (histogram) of error sizes for the j:th
            % gene. For loop seems to be faster than the method based on
            % hist-function.
            %h = hist(DD,[0:emax]);
            %E(j,:) = E(j,:) + h;
            for jj=1:size(DD,1)
                E(j,DD(jj)+1) = E(j,DD(jj)+1) + 1;
            end % for jj=1:size(DD,1)
        end % if eopt<=emax
    end % for j=1:ni
    
    % The "next" variable combinations.
    I = nextnchoosek(I,n);
    
    % Display something.
    if mod(i,1000000)==0
        disp([num2str(i),'/',num2str(stopi)]);
        %save('resultstemp.mat','E','i','I');
    end % if mod(i,1000000)==0
    
end % for i=1:varnum

%save('resultstemp.mat','E','i','I');

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
性感美女久久精品| 中文字幕一区二区三区乱码在线| 视频一区二区三区中文字幕| 欧美日韩高清在线播放| 日日夜夜精品视频天天综合网| 日韩视频在线观看一区二区| 六月婷婷色综合| 国产日产欧美一区二区视频| 99视频一区二区三区| 亚洲国产精品自拍| 久久久久久97三级| 99国产精品国产精品久久| 亚洲一卡二卡三卡四卡五卡| 精品国产免费一区二区三区香蕉| 成人精品一区二区三区四区| 亚洲自拍偷拍av| www日韩大片| 91香蕉视频污在线| 美日韩一区二区| 中文字幕一区二区不卡| 欧美日韩和欧美的一区二区| 国产精品99久久久久久似苏梦涵 | 亚洲国产日韩a在线播放性色| 91麻豆精品国产91久久久久| 国产一区视频在线看| 亚洲黄色片在线观看| 日韩欧美一级二级| 色综合欧美在线视频区| 久久99精品久久久久久久久久久久| 精品一区二区在线播放| 国产亚洲成年网址在线观看| 欧美性大战久久| 国产成人午夜99999| 亚洲福利电影网| 欧美激情艳妇裸体舞| 51精品国自产在线| 97久久精品人人澡人人爽| 激情六月婷婷综合| 午夜在线成人av| 最新高清无码专区| 久久亚洲一区二区三区四区| 欧美日韩国产片| 91麻豆swag| 粉嫩久久99精品久久久久久夜| 手机精品视频在线观看| 最新国产精品久久精品| 久久嫩草精品久久久精品一| 欧美精品精品一区| 色综合久久久久综合99| 丁香婷婷深情五月亚洲| 精品在线免费视频| 日韩电影免费在线| 亚洲一区二区欧美| 亚洲精品第一国产综合野| 国产欧美一区二区在线观看| 日韩欧美国产麻豆| 欧美一区二区三区免费视频| 欧美日韩精品免费| 欧美日韩一区精品| 欧美日韩一区二区欧美激情| 91麻豆精东视频| 一本大道久久a久久精品综合| 成人精品国产免费网站| 国产精品99久久不卡二区| 另类的小说在线视频另类成人小视频在线| 亚洲一区二区欧美日韩| 一区二区三区不卡视频在线观看| 国产精品视频看| 国产精品免费网站在线观看| 国产性做久久久久久| 欧美韩国日本一区| 国产精品久久久久久亚洲毛片 | 国产亚洲精品超碰| 久久久久久97三级| 日本一区二区三区四区| 欧美国产日韩精品免费观看| 中文乱码免费一区二区 | 亚洲欧美日本在线| 亚洲欧洲综合另类在线| 亚洲理论在线观看| 亚洲综合一二三区| 午夜精品福利在线| 奇米在线7777在线精品| 麻豆国产精品一区二区三区| 激情综合亚洲精品| 粉嫩在线一区二区三区视频| 波多野结衣中文字幕一区 | 色噜噜狠狠一区二区三区果冻| 91在线云播放| 欧美日韩一区不卡| 91精品国产手机| 久久亚洲欧美国产精品乐播| 欧美国产日韩精品免费观看| 日韩伦理电影网| 亚洲国产精品精华液网站| 日本欧美加勒比视频| 美女久久久精品| 国产sm精品调教视频网站| av电影天堂一区二区在线观看| 欧洲一区在线观看| 日韩欧美一二三区| 中文字幕一区在线观看视频| 亚洲综合激情另类小说区| 久久爱另类一区二区小说| 国产999精品久久久久久| 色综合中文字幕国产 | 国产精品影视网| 一本一本大道香蕉久在线精品| 欧美性生交片4| 久久综合中文字幕| 亚洲男人都懂的| 精品一区二区在线播放| 91蜜桃网址入口| 日韩亚洲欧美一区| 亚洲欧洲另类国产综合| 蜜桃久久av一区| av电影天堂一区二区在线观看| 91麻豆精品国产91久久久久久久久 | 国产欧美一区二区精品仙草咪 | 91精品黄色片免费大全| 国产人成亚洲第一网站在线播放 | 日韩精品一区二区三区中文不卡| 国产欧美日韩在线视频| 亚洲成年人网站在线观看| 国产精品亚洲专一区二区三区 | 91精品国产一区二区人妖| 国产精品欧美经典| 美女一区二区在线观看| 一本色道久久综合精品竹菊| 久久美女艺术照精彩视频福利播放| 亚洲欧美日韩在线不卡| 国产成人福利片| 欧美一卡二卡在线观看| 一区二区激情小说| 成人精品亚洲人成在线| 精品国产乱码久久久久久牛牛| 又紧又大又爽精品一区二区| 成人午夜视频免费看| 精品国产伦理网| 秋霞影院一区二区| 欧美日韩免费一区二区三区| 亚洲天堂福利av| 国产成人综合亚洲91猫咪| 日韩一级大片在线观看| 视频一区在线视频| 色综合天天综合| 亚洲欧美中日韩| 成人高清视频在线| 国产精品网站在线观看| 国产麻豆视频精品| 欧美成人艳星乳罩| 青青草原综合久久大伊人精品 | 一本色道综合亚洲| 国产精品久久久久久久久动漫 | 黄色日韩网站视频| 日韩欧美国产系列| 久久国产综合精品| 精品粉嫩aⅴ一区二区三区四区| 午夜精品久久久久影视| 欧美日韩一级片网站| 亚洲高清在线精品| 欧美久久一二三四区| 亚洲福利视频一区| 91精品国产综合久久久久久 | 91年精品国产| 一区在线观看免费| 91女人视频在线观看| 亚洲视频一区二区在线| 91老司机福利 在线| 亚洲精品va在线观看| 精品视频色一区| 亚洲国产一区二区视频| 欧美日韩电影在线| 丝瓜av网站精品一区二区 | 欧美色窝79yyyycom| 亚洲成人综合网站| 欧美一区日韩一区| 国产一区亚洲一区| 国产精品视频第一区| 一本色道**综合亚洲精品蜜桃冫| 亚洲精品欧美激情| 欧美日韩久久一区| 蜜桃精品视频在线| 国产欧美日韩激情| 99免费精品在线| 性做久久久久久免费观看欧美| 在线成人小视频| 国产呦萝稀缺另类资源| 日本一区二区不卡视频| 色综合天天狠狠| 日精品一区二区| 久久免费视频一区| 99精品久久99久久久久| 日日噜噜夜夜狠狠视频欧美人 | 91久久一区二区| 日韩和的一区二区| 国产精品网站在线| 欧美久久一二三四区| 粉嫩嫩av羞羞动漫久久久| 亚洲高清在线精品|