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

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

?? ganders.m

?? BP神經網絡用于分類與回歸 1、NeuralNetwork_BP_Classification.m - 分類 2、NeuralNetwork_BP_Regression.m - 回歸
?? M
字號:
function [alpha,theta,solution,minr,t,maxerr]=...   ganders(MI,SG,J,tmax,stopCond,t,alpha,theta)
% GANDERS algorithm solving Generalized Anderson's task.% [alpha,theta,solution,minr,t,maxerr]=...%    ganders(MI,SG,J,tmax,rdelta,t,alpha,theta)
%% GANDERS is implementation of the general algorithm framework that finds %   optimal solution of the Generalized Anderson's task (GAT). %%   The GAT solves problem of finding a separationg hyperplane %   (alpha'*x = theta) between two classes such that found solution minimizes %   the probability of bad classification. Both classes are described in term %   of the conditional probability density functions p(x|k), where x is %   observation and k is class label (1 for the first and 2 for the second %   class). The p(x|k) for both the classes has normal distribution but its %   genuine parameters are not know only finite set of possible parameters %   is known. %%   The algorithms works iteratively until the change of the solution quality %   in two consequential steps is less then given limit rdelta %   (radius of the smallest ellipsoid) or until the number of steps, %   the algorithm performed, exceeds given limit tmax.%% Input:% (K is number of input parameters, N is dimension of feature space.)%% GANDERS(MI,SIGMA,J,tmax,rdelta)%   MI [NxK] contains K column vectors of mean values MI=[mi_1,mi_2...mi_K],%      where mi_i is i-th column vector N-by-1. %   SIGMA [N,(K*N)] contains K covariance matrices,%      SIGMA=[sigma_1,sigma_2,...sigma_K], where sigma_i is i-th matrix N-by-N.
%   J [1xK] is vector of class labels J=[label_1,label_2,..,class_K], where
%      label_i is an integer 1 or 2 according to which class the pair 
%      {mi_i,sigma_i} describes.
%   tmax [1x1] is maximal number of steps of algorithm. Default is inf 
%      (it exclude this stop condition).
%   rdelta [1x1] is positive real number (including 0 that exclude this 
%      stop condition) which determines stop condition - it works until
%      the change of solution quality (radius of the smallest ellipsoid)
%      is less than rdelta the algorithm exits.
%
% GANDERS(MI,SIGMA,J,tmax,rdelta,t,alpha,theta) begins from state given by
%   t [1x1] begin step number.
%   alpha [Nx1], theta [1x1] are state variables of the algorithm.
%
% Returns:
%   alpha [Nx1] is normal vector of found separating hyperplane.
%   theta [1x1] is threshold of separating hyperplane (alpha'*x=theta).
%   solution [1x1] is equal to -1 if solution does not exist,
%      is equal to 0 if solution is not found,
%      is equal to 1 if is found.
%   minr [1x1] is radius of the smallest ellipsoid correseponding to the %      quality of found solution.%   t [1x1] is number of steps the algorithm performed.%   maxerr [1x1] is upper bound of probabillity of bad classification.%% See also OANDERS, EANDERS, GGANDERS, GANDERS2%% Statistical Pattern Recognition Toolbox, Vojtech Franc, Vaclav Hlavac% (c) Czech Technical University Prague, http://cmp.felk.cvut.cz% Written Vojtech Franc (diploma thesis) 24.10.1999, 6.5.2000% Modifications% 30-August-2001, V.Franc, mistake repared, dalpha = dalpha/norm(dalpha) removed% 24. 6.00 V. Hlavac, comments polished.MINEPS_TMAX=1e2;    % max # of iter. in epsilon minimization% default arguments settingif nargin < 3,   error('Not enought input arguments.');endif nargin < 4,   tmax = inf;end
%%% Gets stop conditionif nargin < 5,   stopCond = 0;endif length(stopCond)==2,  stopT=stopCond(2);else  stopT=1;enddeltaR=stopCond(1);%##debugcond=2;stopT=100;if nargin < 6,   t=0;end% perform transformation
if nargin < 8,   [alpha,MI,SG]=ctransf(0,0,MI,J,SG);else   [alpha,MI,SG]=ctransf(alpha,theta,MI,J,SG);end% get dimension N and number of distributionsN=size(MI,1);K=size(MI,2);% STEP (1)if t==0,   [alpha,alphaexists]=csvm(MI);
   % if alpha don`t exist than error can not be less that 50%
   if alphaexists==1,
      t=1;
   else
      % no feasible solution can be found, so that exit algorithm
      alpha=zeros(N,1); theta=0; minr=0;
      solution=-1;
      return;
   end
   tmax=tmax-1;
end

% STEP (2.1)
% find the minimal radius of all the  ellipsoids
%[minrs,minri]=min( (alpha'*MI)./sqrt( reshape(alpha'*SG,N,K)'*alpha )' );
%minr=minrs(1);rka=(alpha'*MI)./sqrt( reshape(alpha'*SG,N,K)'*alpha )';[minr,inx]=min(rka);minri=find((rka-0.0001) <= minr);lastminr=minr;queueMinR=[];  % queue of the best solutions, stopT steps backwardt0=0;   % counter of performed iterations in this call of the function% t, is the whole number of iterations, i.e. t(end_fce)=t(begin_fce)+t0;% iterations cycle
solution=0;
while solution==0 & tmax > 0 & t ~= 0,   tmax = tmax-1;   % STEP (2.2)   % compute contact points and negative error function derivation   Y0=zeros(N,length(minri));   for i=1:length(minri),      j=minri(i);     % computes point of contact
      x0=MI(:,j)-(( alpha'*MI(:,j) )/...               (alpha'*SG(:,(j-1)*N+1:j*N)*alpha))*SG(:,(j-1)*N+1:j*N)*alpha;      Y0(:,i) = x0/sqrt( alpha'*SG(:,(j-1)*N+1:N*j)*alpha );   end   % find direction delta_alpha in which error decreases   [dalpha,dalphaexists]=csvm(Y0); %   dalpha=dalpha/norm(dalpha);      if dalphaexists == 1, %      alpha=alpha/norm(alpha);%      dalpha=dalpha/norm(dalpha);           % STEP (3)      % find t=arg min max epsilon(alpha+t*dalpha, MI, SG )
       alpha=mineps(MI,SG,alpha,dalpha,MINEPS_TMAX,0);%      alpha=minepsvl(MI,SG,alpha,dalpha,MINEPS_TMAX,0);%      alpha=minepsrt(MI,SG,alpha,dalpha)
;      % find the minimal radius of all the  ellipsoids%      [minrs,minri]=min( (alpha'*MI)./sqrt( reshape(alpha'*SG,N,K)'*alpha )' );%      minr=minrs(1);
%      minri      rka=(alpha'*MI)./sqrt( reshape(alpha'*SG,N,K)'*alpha )';      [minr,inx]=min(rka);      minri=find((rka-0.0001) <= minr);%      minrinx=minri   end
   %% incereases iteration counter   t=t+1;   t0=t0+1;   %%%% Stop criterion %%%%%%%%%%%%%%%%   if dalphaexists == 0,      solution=1;      t=t-1;   else % if cond == 1,          %%% the second stop condition      if t0 > stopT,        if (minr-queueMinR(1)) < deltaR,	     solution = 1;         t=t-1;        end        % a queue of the best solutions        queueMinR=[queueMinR(2:end),minr];        else        queueMinR=[queueMinR,minr];      end   end   % store old value of minr   lastminr=minr;end% inverse transformation[alpha,theta]=ictransf(alpha);% upper bound of prob. of bad classificationmaxerr=1-cdf('norm',minr,0,1);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91色在线porny| 成人不卡免费av| 亚洲综合色成人| 日韩一区欧美小说| 中文字幕一区二区在线观看| 国产欧美一区二区精品仙草咪 | 欧美成人video| 91精品欧美久久久久久动漫| 欧美日韩免费视频| 欧美日韩精品免费观看视频| 欧美精品三级日韩久久| 91精品啪在线观看国产60岁| 欧美一区二区视频在线观看2020 | 久久99在线观看| 久久狠狠亚洲综合| 国产精品自产自拍| 成人av资源网站| 色婷婷av一区二区三区gif| 91免费看`日韩一区二区| 在线视频亚洲一区| 欧美久久高跟鞋激| 国产亚洲制服色| 国产精品短视频| 亚洲国产一二三| 久久国产夜色精品鲁鲁99| 国产不卡视频在线观看| 一本一本久久a久久精品综合麻豆| 在线观看视频一区二区| 日韩欧美在线网站| 国产偷国产偷亚洲高清人白洁| 国产精品福利一区| 婷婷综合在线观看| 成人18视频日本| 7878成人国产在线观看| 欧美激情一区二区三区四区| 亚洲精品欧美综合四区| 久久99精品久久久| 色哟哟在线观看一区二区三区| 在线不卡免费欧美| 欧美极品美女视频| 日本欧美一区二区三区乱码| 国产99精品在线观看| 欧美日韩日本视频| 国产精品色婷婷久久58| 美女尤物国产一区| 91蜜桃网址入口| 久久久久国产精品人| 香蕉成人啪国产精品视频综合网| 天堂va蜜桃一区二区三区漫画版| 国产麻豆精品视频| 色94色欧美sute亚洲线路一ni| 欧美高清性hdvideosex| 国产欧美中文在线| 日本成人中文字幕在线视频| 国产精品一区不卡| 欧美日韩高清一区二区三区| 国产欧美日韩在线观看| 亚洲成av人片在线观看无码| 国产成人一区二区精品非洲| 欧美这里有精品| 久久久精品国产免费观看同学| 亚洲乱码日产精品bd| 久久精品国产99国产| 91蜜桃视频在线| 亚洲精品在线免费播放| 午夜在线电影亚洲一区| 99热99精品| 欧美国产日本视频| 精品一区二区三区影院在线午夜 | 色先锋久久av资源部| 精品乱人伦小说| 亚洲一区二区三区自拍| 高清视频一区二区| 欧美精品免费视频| 国产乱码精品一区二区三区忘忧草 | 国产精品综合久久| 555夜色666亚洲国产免| 亚洲男人的天堂一区二区| 国产乱人伦偷精品视频不卡| 4438亚洲最大| 香蕉影视欧美成人| 99久久免费视频.com| 综合久久久久综合| 成人涩涩免费视频| 国产日韩精品一区二区三区| 精品一区二区国语对白| 欧美成人a∨高清免费观看| 亚洲超碰97人人做人人爱| 91精品91久久久中77777| 久久精品视频一区| 国产乱淫av一区二区三区| 日韩你懂的在线播放| 精品亚洲aⅴ乱码一区二区三区| 91精品婷婷国产综合久久性色| 亚洲图片有声小说| 欧美日韩专区在线| 日韩中文字幕一区二区三区| 欧美蜜桃一区二区三区| 午夜成人免费电影| 欧美一区二区视频免费观看| 天天做天天摸天天爽国产一区| 日韩一区二区三区三四区视频在线观看 | 久久久久久久久久久99999| 久久99最新地址| 26uuu国产电影一区二区| 乱中年女人伦av一区二区| 日韩欧美国产电影| 国产一区二区三区黄视频 | 久久精品国产99久久6| 精品对白一区国产伦| 国产米奇在线777精品观看| 国产婷婷精品av在线| 成人av网站免费| 亚洲精品久久久久久国产精华液| 高清在线成人网| 136国产福利精品导航| 欧美一级日韩一级| 国产凹凸在线观看一区二区| 一区二区高清视频在线观看| 欧美久久久一区| 国产一区 二区| 一区二区三区蜜桃网| 欧美va亚洲va香蕉在线| 成人av电影免费在线播放| 一区二区三区欧美亚洲| 久久婷婷久久一区二区三区| www.视频一区| 麻豆91精品91久久久的内涵| 亚洲国产精品黑人久久久| 日本二三区不卡| 九九精品一区二区| 亚洲影视在线播放| 久久久精品中文字幕麻豆发布| 99精品视频在线免费观看| 一区二区成人在线| 国产精品久久久久国产精品日日| 欧美日本乱大交xxxxx| 国产一区二区久久| 亚洲成av人影院在线观看网| 国产精品免费丝袜| 欧美一级黄色大片| 91国偷自产一区二区使用方法| 免费在线观看一区| 亚洲综合一区在线| 一区二区三区久久久| 久久综合99re88久久爱| 欧美一区二区福利视频| 日本高清不卡在线观看| 国产不卡一区视频| 麻豆成人久久精品二区三区小说| 亚洲色欲色欲www| 久久久久久电影| 欧美一区二区在线视频| 日韩小视频在线观看专区| 91麻豆国产自产在线观看| 国产成人午夜精品5599| 色综合天天综合狠狠| 国产中文字幕一区| 免费在线观看不卡| 婷婷国产在线综合| 亚洲影院在线观看| 亚洲手机成人高清视频| 亚洲色图视频网| 亚洲欧洲日韩在线| 国产精品污网站| 国产欧美一区二区三区鸳鸯浴| 日韩精品专区在线| 日韩美女一区二区三区四区| 在线播放日韩导航| 欧美放荡的少妇| 欧美精品一区二区三区四区 | 色久综合一二码| 色天使色偷偷av一区二区| 97国产一区二区| 欧美最猛黑人xxxxx猛交| 色素色在线综合| 91久久国产综合久久| 在线观看91视频| 欧美日韩中文字幕一区| 欧美人牲a欧美精品| 欧美日韩日本视频| 欧美一区二区三区思思人| 8x8x8国产精品| 亚洲国产激情av| 国产精品美女久久久久久久久久久 | 亚洲欧美日韩中文字幕一区二区三区 | 欧美日韩国产色站一区二区三区| 一本久久综合亚洲鲁鲁五月天| 在线亚洲免费视频| 欧美在线一区二区| 日韩写真欧美这视频| 2017欧美狠狠色| 久久久久久一级片| 亚洲国产欧美在线人成| 97精品电影院| 欧美日韩激情在线| 精品国产一区二区三区久久影院| 欧美国产一区视频在线观看| 中文字幕亚洲一区二区va在线| 亚洲一区二区三区不卡国产欧美|