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

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

?? ganders2.m

?? Edge detection with svm (doc and matlabcode)
?? M
字號:
function [alpha,theta,solution,minr,t,maxerr]=...   ganders2(MI,SG,J,tmax,stopCond,t,alpha,theta)
% GANDERS2 algorithm solving Generalized Anderson's task.% [alpha,theta,solution,minr,t,maxerr]=...%    ganders2(MI,SG,J,tmax,rdelta,t,alpha,theta)
%% GANDERS2 is implementation of the general algorithm framework that finds %   optimal solution of the Generalized Anderson's task (GAT). This %   implementation is similar to GANDERS.M but its part finding so-called %   improving direction uses different method (VF).  %%   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 identifier (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:% (Notation: K is number of input parameters, N is dimension of feature space.)
%
% GANDERS2(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.
%
% GANDERS2(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 probability of bad classification. %
% See also OANDERS, EANDERS, GGANDERS, GANDERS
%

% Statistical Pattern Recognition Toolbox, Vojtech Franc, Vaclav Hlavac
% (c) Czech Technical University Prague, http://cmp.felk.cvut.cz
% Written Vojtech Franc (diploma thesis) 04.11.1999, 6.5.2000
% Modifications
% 24. 6.00 V. Hlavac, comments polished.% 18. 7.00 V. Franc, comments changedMINEPS_TMAX=1e2;  % max # of iter. in epsilon minimization% default arguments settingif nargin < 3,  error('Not enough 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);%%if nargin < 6,   t=0;end% perform transformationif 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 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);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 cyclesolution=0;while solution==0 & tmax > 0 & t~=0,   tmax = tmax-1;   % STEP (2.2)   % compute contact points for each distribution   Y0=zeros(N,K);   for i=1:K,      x0(:,i)=MI(:,i)-(minr/sqrt(alpha'*SG(:,(i-1)*N+1:i*N)*alpha))*SG(:,(i-1)*N+1:i*N)*alpha;      Y0(:,i) = x0(:,i);   end   % find direction delta_alpha in which error decreases   [dalpha,dalphaexists]=csvm(Y0);      if dalphaexists == 1,      % STEP (3)      % find the optimal scalar t that t=arg min max epsilon(alpha+t*dalpha, MI, SG )      % [alpha]=mineps(MI,SG,alpha,dalpha,tmax,delta)      alpha=mineps(MI,SG,alpha,dalpha,MINEPS_TMAX,0);%      alpha=minepsvl(MI,SG,alpha,dalpha,MINEPS_TMAX,0);%      alpha=minepsrt(MI,SG,alpha,dalpha);      % 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);   end   %% incereases iteration counter   t=t+1;   t0=t0+1;   %%%% Stop criterion %%%%%%%%%%%%%%%%   if dalphaexists == 0,      solution=1;      t=t-1;   else          %%% the 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);% probability of classification errormaxerr=1-cdf('norm',minr,0,1);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国精产品一区一区三区mba视频 | 欧美体内she精视频| 91麻豆精品国产91| 中文字幕精品在线不卡| 免费国产亚洲视频| 日本电影亚洲天堂一区| 中文幕一区二区三区久久蜜桃| 亚洲图片欧美视频| 99久久国产综合精品女不卡| 在线播放中文一区| 亚洲欧美另类在线| gogogo免费视频观看亚洲一| 2021久久国产精品不只是精品| 五月激情综合色| 色先锋久久av资源部| 中文字幕成人av| 国产福利一区在线| 久久久99精品久久| 国产一区二区免费在线| 欧美一区二区精美| 欧美aa在线视频| 欧美一区二区三区啪啪| 亚洲成av人片一区二区梦乃 | 中文字幕一区二区三区四区| 久久99精品久久久久久国产越南| 欧美日韩日日骚| 一个色妞综合视频在线观看| 91网站最新网址| 国产精品成人免费精品自在线观看| 国产一区二区三区日韩| 日韩欧美在线123| 久久精品国产亚洲aⅴ| 欧美一级夜夜爽| 久久精品久久综合| 欧美www视频| 国产精品99久久久久久似苏梦涵 | 激情五月婷婷综合网| 欧美一级理论片| 麻豆国产一区二区| 久久只精品国产| 岛国精品在线观看| 综合中文字幕亚洲| 欧美午夜片在线观看| 日韩一区欧美二区| 精品国产乱码久久久久久久| 狠狠色丁香久久婷婷综合_中| 精品成人一区二区| 99在线精品一区二区三区| 亚洲色图丝袜美腿| 在线播放91灌醉迷j高跟美女| 色综合久久天天综合网| 一区二区在线看| 欧美丰满一区二区免费视频| 人人精品人人爱| 国产人伦精品一区二区| aaa欧美大片| 日韩av午夜在线观看| 欧美mv日韩mv国产| av在线不卡免费看| 日韩国产精品91| 中文一区二区完整视频在线观看| 色综合久久88色综合天天6| 视频一区二区三区中文字幕| 久久日韩粉嫩一区二区三区| 91色乱码一区二区三区| 婷婷成人综合网| 国产精品三级电影| 日韩小视频在线观看专区| 国产91高潮流白浆在线麻豆| 亚洲裸体在线观看| 久久综合久久综合久久| 色老头久久综合| 国产尤物一区二区| 亚洲一级二级三级| 欧美激情一区二区在线| 欧美人狂配大交3d怪物一区| 国产一区二区三区不卡在线观看| 日韩理论片一区二区| 精品日韩欧美在线| 欧美日韩在线不卡| 99久久精品一区二区| 日韩av中文字幕一区二区| 中文字幕中文字幕一区二区| 欧美一级夜夜爽| 欧美午夜一区二区三区| 成人免费毛片高清视频| 麻豆精品国产91久久久久久| 亚洲天堂av一区| 国产视频不卡一区| 日韩美女视频在线| 欧美日韩大陆一区二区| 99re成人精品视频| 成人深夜在线观看| 国产精品亚洲人在线观看| 丝袜亚洲另类欧美| 亚洲3atv精品一区二区三区| 国产精品护士白丝一区av| 欧美精品一区二区在线播放| 欧美一区二区三区啪啪| 欧美日韩精品一区二区天天拍小说| 99久精品国产| 99综合影院在线| 成人精品小蝌蚪| 波多野结衣在线aⅴ中文字幕不卡| 日本免费在线视频不卡一不卡二 | 欧美影院一区二区三区| 成人av在线资源网站| 国产揄拍国内精品对白| 九色综合狠狠综合久久| 蜜乳av一区二区| 久久超碰97人人做人人爱| 日韩av一二三| 久久国产精品露脸对白| 极品少妇一区二区三区精品视频| 老司机精品视频在线| 伦理电影国产精品| 国产麻豆欧美日韩一区| 精品一区二区免费| 激情综合色播激情啊| 国产精品一线二线三线精华| 粉嫩久久99精品久久久久久夜| 国产成人在线视频网址| 粉嫩蜜臀av国产精品网站| 粉嫩aⅴ一区二区三区四区五区| 极品少妇一区二区三区精品视频| 国产一区二区三区黄视频| 日本免费新一区视频| 国产在线播精品第三| 国产一区二区三区在线观看免费 | 国产精品伦一区二区三级视频| 国产蜜臀97一区二区三区| 国产精品久久久久久久久免费桃花 | 日本中文字幕一区| 五月天视频一区| 日韩av中文字幕一区二区| 国产揄拍国内精品对白| 99久久er热在这里只有精品15| 欧美视频一区在线观看| 日韩免费性生活视频播放| 欧美成人一区二区三区片免费| 国产亚洲综合在线| 亚洲一区精品在线| 久久国产欧美日韩精品| 成人免费视频国产在线观看| 欧美色视频在线观看| 欧美zozo另类异族| 伊人色综合久久天天人手人婷| 日韩**一区毛片| 成人毛片在线观看| 欧美一卡二卡在线观看| 亚洲欧洲国产日韩| 免费三级欧美电影| www.欧美.com| 日韩精品最新网址| 亚洲精品水蜜桃| 国产尤物一区二区| 欧美日韩www| 国产精品素人视频| 日本欧美一区二区| 色哟哟精品一区| 久久久电影一区二区三区| 韩国午夜理伦三级不卡影院| 一本久久精品一区二区| 精品久久国产老人久久综合| 欧美成va人片在线观看| 欧美成人a视频| 亚洲成人在线观看视频| hitomi一区二区三区精品| 91精品国产麻豆国产自产在线| 日韩欧美一级片| 亚洲黄色尤物视频| 成人av片在线观看| 欧美电影免费观看高清完整版| 一区二区三区在线免费| 国产一区二区精品久久99| 欧美日韩一区二区三区四区五区 | 日韩午夜av电影| 亚洲午夜视频在线观看| av动漫一区二区| 久久久亚洲午夜电影| 日本91福利区| 在线播放国产精品二区一二区四区| 亚洲欧美日韩国产综合在线| 国产美女在线精品| 精品久久人人做人人爽| 日韩av一级电影| 欧美一区二区女人| 日韩黄色一级片| 欧美日韩中文字幕精品| 亚洲精品日日夜夜| 色综合久久66| 亚洲一区二区美女| 91成人免费在线视频| 亚洲欧美视频在线观看视频| 岛国精品在线播放| 亚洲色图第一区| 91女神在线视频| 亚洲男同性视频| 在线观看日韩国产| 午夜亚洲国产au精品一区二区|