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

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

?? ganders2.m

?? 四種支持向量機用于函數擬合與模式識別的Matlab示例程序
?? 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一区二区三区免费野_久草精品视频
99热99精品| 99久久久久久| 国产在线不卡一区| 99re成人精品视频| 欧美日韩一级片网站| 精品久久久久久久久久久久久久久 | www.av亚洲| 99精品国产91久久久久久 | 91麻豆精品国产综合久久久久久| 欧美大度的电影原声| 亚洲人123区| 国产一区视频网站| 欧美在线综合视频| 久久精品视频一区二区三区| 又紧又大又爽精品一区二区| 国内外精品视频| 欧美精品三级在线观看| 日韩欧美一区在线观看| 一区二区国产视频| 国产成人午夜视频| 日韩久久精品一区| 五月婷婷综合激情| 99久久婷婷国产| 8x8x8国产精品| 亚洲一区二区影院| www.亚洲精品| 亚洲精品一线二线三线无人区| 亚洲制服欧美中文字幕中文字幕| 成人在线一区二区三区| 欧美大尺度电影在线| 亚洲小说欧美激情另类| 99re这里只有精品视频首页| 26uuu色噜噜精品一区二区| 午夜精品福利一区二区三区av | 视频在线观看91| 波多野结衣亚洲| 欧美电视剧在线观看完整版| 性做久久久久久免费观看欧美| 成人午夜精品在线| 日韩免费成人网| 日本亚洲天堂网| 欧美主播一区二区三区| 亚洲三级视频在线观看| 成人精品一区二区三区四区| 久久久亚洲欧洲日产国码αv| 青青青伊人色综合久久| 欧美一区二区三区在线观看| 青草av.久久免费一区| 91超碰这里只有精品国产| 婷婷久久综合九色国产成人| 欧美日韩免费电影| 亚洲成人福利片| 91.xcao| 美国三级日本三级久久99| 7777女厕盗摄久久久| 午夜不卡av在线| 欧美一二三四区在线| 美女视频一区在线观看| 日韩视频免费观看高清完整版在线观看 | 中文字幕精品一区二区精品绿巨人 | 国产成人免费av在线| 久久综合一区二区| 国产999精品久久| 国产精品国产三级国产普通话99| av不卡一区二区三区| 亚洲欧美国产77777| 欧美色视频一区| 日av在线不卡| 国产日韩欧美麻豆| 一本色道久久加勒比精品 | 亚洲午夜久久久久久久久久久 | 99久久国产综合精品麻豆| 亚洲精选视频免费看| 欧美人牲a欧美精品| 久久99日本精品| 色婷婷一区二区| 亚洲在线观看免费视频| 欧美老肥妇做.爰bbww| 麻豆国产欧美日韩综合精品二区| 久久老女人爱爱| 在线一区二区三区四区五区| 日日夜夜一区二区| 久久亚洲一级片| 91福利区一区二区三区| 美女爽到高潮91| 亚洲色欲色欲www| 日韩美女天天操| 成人性生交大合| 午夜成人免费电影| 国产精品毛片无遮挡高清| 制服丝袜亚洲色图| 粉嫩在线一区二区三区视频| 亚洲妇熟xx妇色黄| 国产精品美女一区二区三区 | 久久久综合精品| 麻豆91精品视频| 精品欧美乱码久久久久久1区2区| 从欧美一区二区三区| 日韩黄色一级片| 国产精品你懂的在线| 欧美一区二区三区爱爱| 不卡av免费在线观看| 极品少妇xxxx偷拍精品少妇| 亚洲制服丝袜在线| 国产精品人妖ts系列视频| 91麻豆精品国产自产在线观看一区| 国产精品 欧美精品| 婷婷中文字幕一区三区| 亚洲国产岛国毛片在线| 日韩女优av电影| 欧美系列亚洲系列| 99re在线视频这里只有精品| 国产剧情一区在线| 男人的天堂亚洲一区| 亚洲国产精品天堂| 亚洲欧洲综合另类| 中文字幕精品一区二区精品绿巨人| 欧美成人伊人久久综合网| 欧美精品久久天天躁| 欧美亚洲国产bt| 91麻豆123| 91在线一区二区三区| 免费不卡在线观看| 亚洲天堂av一区| 久久亚洲精品小早川怜子| 日韩欧美中文一区| 欧美一区二区精美| 欧美一级欧美三级| 日韩免费视频线观看| 精品免费视频.| 久久久亚洲国产美女国产盗摄 | 有码一区二区三区| 《视频一区视频二区| 中文字幕在线视频一区| 国产精品伦理在线| 国产精品国产三级国产专播品爱网| 国产欧美日韩在线| 69堂亚洲精品首页| 51精品秘密在线观看| 欧美三级韩国三级日本三斤| 欧美精品欧美精品系列| 欧美大胆一级视频| 久久影音资源网| 国产精品欧美久久久久无广告 | 91精品国产全国免费观看| 日韩一区二区三区视频| 欧美三级视频在线观看| 欧美一级黄色片| 国产无人区一区二区三区| 国产日韩精品一区二区三区在线| 中文一区二区在线观看| 亚洲免费观看在线视频| 亚洲成a人v欧美综合天堂下载 | 在线免费亚洲电影| 欧美精品三级日韩久久| 久久久亚洲精品一区二区三区| 日本一区二区不卡视频| 一区二区三区在线不卡| 日韩一区精品视频| 国产精品正在播放| 91蝌蚪porny| 欧日韩精品视频| 日韩精品一区二区三区蜜臀| 久久精品一区二区| 一区二区免费在线| 久久综合综合久久综合| 波多野结衣在线一区| 欧美另类z0zxhd电影| 久久亚洲欧美国产精品乐播| 亚洲精品美腿丝袜| 国产一区欧美一区| 色呦呦国产精品| 国产精品乱码久久久久久| 麻豆精品久久精品色综合| 精品视频一区 二区 三区| 国产精品网站在线播放| 久草精品在线观看| 欧美剧在线免费观看网站| 亚洲天堂久久久久久久| 高清beeg欧美| 久久久久免费观看| 黄页视频在线91| 日韩小视频在线观看专区| 亚洲v中文字幕| 欧美在线免费观看亚洲| 最好看的中文字幕久久| 成人免费三级在线| 久久久99久久| 国产乱子伦视频一区二区三区 | 精品国产乱码久久久久久久久 | 久久国产精品99久久人人澡| 亚洲女同ⅹxx女同tv| 国产精品456| xfplay精品久久| 国内外成人在线| 精品日产卡一卡二卡麻豆| 美腿丝袜在线亚洲一区| 日韩三级视频在线看| 久久av中文字幕片| 精品久久国产老人久久综合|