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

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

?? gganders2.m

?? 用于分類的matlab工具箱
?? M
字號:
function [alpha,theta,solution,minr,t,maxerr]=...   gganders2(MI,SG,J,tmax,stopCond,t,alpha,theta)% GGANDERS2 solves Generalized Anderson's task, generalized gradient.% [alpha,theta,solution,minr,t,maxerr]=...%    gganders2(MI,SG,J,tmax,stopCond,t,alpha,theta)%% GGANDERS2 is implementation of the algorithm that uses theorem of the %   generalized gradient optimization for solving the Generalized Anderson's %   task (GAT).% %   The GAT finds 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 (K in {1,2}). 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 algorithm finds such alpha, theta which maximizes criterion minR.%   There are three possible stop conditions:%     1. stopCond is [1x1]. The algorithm halts when a change of the %     criterion value in two consequantial steps is less than a prescribed %     limit stopCond, i.e.%           abs(minr(t)-minr(t-1)) < stopCond%%     2. stopCond is [1x2] = [deltaR,stopT]. The algorithm halts when during%     the last 'stopT'-th steps a change of the best solution is less than the%     prescribed limit deltaR, i.e.%           max minR(t')  -   max  minR(t')  < deltaR%         t' <= t          t' <= t-sotpT%      %     OR %     3. The algortihm halts when number of performed iterations exceeds%     prescribed limit tmax without respect to stopCond, i.e. %          t >= tmax%% Input:% (Notation: K is number of input parameters, N is dimension of feature space.)%% GGANDERS2(MI,SIGMA,J,tmax,stopCond)%   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).%   stopCond [1x1] or [1x2] see comments above.%% GGANDERS2(MI,SIGMA,J,tmax,stopCond,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, GANDERS, GANDERS2%% 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.% 20.10.00 V.Franc% 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);%%% Starts from the prescibed stateif nargin < 6,   t=0;end% goes to homogenous coordinatesif 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 distributions KN=size(MI,1);K=size(MI,2);% implicit valuesolution=0;if t==0,   % First step   [alpha,alphaexists]=csvm(MI);   if alphaexists==0,      % Solution does not exist.      alpha = zeros(N,1); minr=0; theta=0;      solution=-1;      return;   else      tmax=tmax-1;      t=1;   endend% computes current quality of the solution[minrs,minri]=min( (alpha'*MI)./sqrt( reshape(alpha'*SG,N,K)'*alpha )' );minr=minrs(1);oldminr=minr;     % solution in the last step bestminr=minr;    % the best solution so far, valuebestalpha=alpha;  %  --//-- ,optimized variablequeueBestMinR=[];  % 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;%%% Main algorithm cycle
 %%%%%%%%%while solution==0 & tmax > 0,   tmax = tmax-1;   % Find contact point x0.   % computes minr   [minrs,minri]=min( (alpha'*MI)./sqrt( reshape(alpha'*SG,N,K)'*alpha )' );   minr=minrs(1);   i=minri(1);   % compute x0   x0=MI(:,i)-(minr/sqrt(alpha'*SG(:,(i-1)*N+1:i*N)*alpha))*SG(:,(i-1)*N+1:i*N)*alpha;   % compute new alpha   alpha=alpha+x0/norm(x0);   oldminr=minr;   % stores the beast solution so far   if bestminr<=minr,      bestalpha=alpha;      bestminr=minr;      bestt=t;   end   t=t+1;   t0=t0+1;   %%%% Stop criterion %%%%%%%%%%%%%%%%   if t0 > stopT,      if (bestminr-queueBestMinR(1)) < deltaR,        solution = 1;        t=t-1;      end      % a queue of the best solutions      queueBestMinR=[queueBestMinR(2:end),bestminr];     else      queueBestMinR=[queueBestMinR,bestminr];   end   end%%%% Conclution of the algorithm %%%%%% gets the best solution so faralpha=bestalpha;minr=bestminr;% returns back to the origin space [alpha,theta]=ictransf(alpha);% computes probability of bad classificationmaxerr=1-cdf('norm',minr,0,1);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
在线观看日韩高清av| 久久久综合精品| 亚洲精品日韩专区silk | 久久精品国产在热久久| 欧美高清在线一区| 欧美一区二区视频在线观看2020| 精品久久久久香蕉网| 日韩伦理av电影| 综合久久综合久久| 天天综合网天天综合色| 亚洲另类在线视频| 国产精品传媒入口麻豆| 中文字幕亚洲在| 亚洲制服丝袜一区| 五月天中文字幕一区二区| 热久久久久久久| 欧美亚洲国产bt| 天天综合网天天综合色| 精品久久久久久亚洲综合网| 成人午夜视频免费看| 亚洲国产精品一区二区久久| 日韩精品一区二区三区老鸭窝| 国产在线精品一区二区三区不卡 | 91在线观看高清| 亚洲精品老司机| 欧美一区二区三区不卡| 国产盗摄精品一区二区三区在线 | 久久国产视频网| 国产精品不卡一区二区三区| 欧美日韩精品一区二区在线播放| 另类小说色综合网站| 国产精品欧美综合在线| 欧美日韩成人一区| 高清国产午夜精品久久久久久| 一二三四社区欧美黄| 精品日产卡一卡二卡麻豆| 92精品国产成人观看免费| 奇米影视7777精品一区二区| 国产精品视频观看| 欧美一级理论片| 91年精品国产| 国内成人精品2018免费看| 亚洲精品高清在线观看| 久久亚洲私人国产精品va媚药| 色网综合在线观看| 国产老肥熟一区二区三区| 亚洲18影院在线观看| 久久精品一区二区三区四区| 国产在线视频精品一区| 精品伦理精品一区| 粉嫩久久99精品久久久久久夜 | 精品成人a区在线观看| 亚洲午夜精品在线| 精品人伦一区二区色婷婷| 亚洲激情校园春色| 91精品国产丝袜白色高跟鞋| 亚洲va韩国va欧美va| 99久久伊人精品| 精品少妇一区二区三区免费观看| 91视频观看视频| 国产一区二区三区不卡在线观看| 亚洲动漫第一页| 亚洲视频中文字幕| 中日韩av电影| 久久久三级国产网站| 制服丝袜在线91| 欧美在线观看一区二区| 99久久精品免费看| 成人一区二区三区视频在线观看 | 国产精品一区专区| 日本aⅴ亚洲精品中文乱码| 一片黄亚洲嫩模| 中文字幕亚洲精品在线观看| 国产拍揄自揄精品视频麻豆| 国产亚洲短视频| 久久久久国产精品人| 精品国产凹凸成av人网站| 日韩天堂在线观看| 精品毛片乱码1区2区3区| 日韩精品在线看片z| 精品欧美一区二区久久| 日韩欧美视频在线| 日韩精品一区在线| wwwwww.欧美系列| 久久久久久麻豆| 国产日产亚洲精品系列| 欧美激情一区二区在线| 中文字幕一区二区三区乱码在线| 国产精品成人一区二区三区夜夜夜| 中文字幕一区二区三| 亚洲激情男女视频| 婷婷丁香激情综合| 免费xxxx性欧美18vr| 韩国视频一区二区| 粉嫩嫩av羞羞动漫久久久| 99精品偷自拍| 欧美日本韩国一区二区三区视频 | 亚洲国产精品一区二区久久| 欧美激情一二三区| 欧美不卡一二三| 亚洲乱码国产乱码精品精小说 | 亚洲日本va午夜在线电影| 一区二区视频在线看| 1024精品合集| 亚欧色一区w666天堂| 黄一区二区三区| 成人免费视频app| 91官网在线观看| 日韩精品中文字幕在线一区| 久久久久久久久久久99999| 国产精品网站导航| 亚洲成人动漫精品| 国产精一区二区三区| 精品国产免费一区二区三区四区 | 亚洲主播在线观看| 久久久久久久综合日本| 国产亚洲精品aa| 亚洲欧美激情插 | 中文文精品字幕一区二区| 国产精品久久久久久久久免费丝袜 | 亚洲在线一区二区三区| 蜜桃视频第一区免费观看| 国产九色sp调教91| 欧美国产欧美亚州国产日韩mv天天看完整| 久久蜜桃av一区二区天堂| 一区二区在线观看免费| 日韩精品在线看片z| 成人黄页毛片网站| 欧美日韩成人一区| 青青草原综合久久大伊人精品| 国产精品夜夜爽| 欧美日韩精品一区二区天天拍小说 | 欧美在线免费播放| 日韩欧美一区二区久久婷婷| 中文字幕中文字幕一区二区| 免费xxxx性欧美18vr| 欧美一区二区三区日韩| 亚洲欧美电影院| 亚洲乱码国产乱码精品精小说| 色偷偷一区二区三区| 91精品国产色综合久久ai换脸| 国产麻豆91精品| 丰满放荡岳乱妇91ww| 欧美精品日韩精品| 亚洲色图在线视频| 国产精品一品二品| 欧美一区二区三区四区在线观看| 国产喂奶挤奶一区二区三区| 国产精品剧情在线亚洲| 国产高清久久久久| 亚洲影视资源网| 免费人成精品欧美精品| 色婷婷久久久久swag精品| 国产午夜精品美女毛片视频| 青青草一区二区三区| 欧美在线一区二区三区| 最新国产精品久久精品| 国产成人精品影院| 久久影院午夜论| 麻豆91精品视频| 这里是久久伊人| 亚洲国产裸拍裸体视频在线观看乱了| 成人国产电影网| 国产欧美日韩精品在线| 国产综合色视频| 26uuu久久天堂性欧美| 麻豆精品精品国产自在97香蕉| 欧美日韩成人在线一区| 天堂午夜影视日韩欧美一区二区| 欧美性猛片aaaaaaa做受| 一区二区三区成人| 欧美日韩一级大片网址| 天堂在线一区二区| 欧美一区二区三区在线| 日韩高清中文字幕一区| 欧美一区二区在线不卡| 免费欧美高清视频| 日韩视频在线永久播放| 精品中文字幕一区二区| 欧美mv日韩mv亚洲| 国产精品自在欧美一区| 久久精品人人做人人爽人人| 国产综合久久久久久鬼色| 欧美成人三级在线| 91精品国产综合久久精品图片 | 欧美挠脚心视频网站| 欧美四级电影在线观看| 91久久久免费一区二区| 国产一区免费电影| 国产欧美日韩不卡| 日韩一级免费一区| 日韩一区二区精品在线观看| 色呦呦一区二区三区| 国产精品白丝jk黑袜喷水| 视频一区二区欧美| 久久久久久久综合| 久久久精品综合| 欧美精品一区在线观看| 亚洲精品在线电影| 国产91清纯白嫩初高中在线观看|