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

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

?? gganders2.m

?? 一個關于SVM支持向量機的計算例程, 用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一区二区三区免费野_久草精品视频
欧美疯狂性受xxxxx喷水图片| 色老综合老女人久久久| 亚洲已满18点击进入久久| 国产亚洲综合性久久久影院| 欧美α欧美αv大片| 欧美一区二区三区在线电影 | 日韩免费看的电影| 欧美精品123区| 欧美电影在线免费观看| 91精品国产全国免费观看| 欧美精品久久天天躁| 5566中文字幕一区二区电影| 91麻豆精品国产91久久久更新时间 | 成人性生交大片免费看中文网站| 国产精品一区一区三区| 国产sm精品调教视频网站| 国产成人啪免费观看软件| 成人动漫精品一区二区| 91免费看视频| 4438x亚洲最大成人网| 日韩一级片在线观看| 26uuu国产电影一区二区| 国产婷婷精品av在线| 国产精品动漫网站| 亚洲成a人片在线观看中文| 日本欧美一区二区在线观看| 久久精品国产亚洲5555| 国产传媒一区在线| 在线观看日韩高清av| 日韩精品一区二区三区在线观看 | 在线观看国产一区二区| 91精品久久久久久蜜臀| 日韩欧美色电影| 国产无遮挡一区二区三区毛片日本| 中文欧美字幕免费| 亚洲第一av色| 国产91对白在线观看九色| 色天使久久综合网天天| 日韩免费观看高清完整版| 中文字幕在线观看不卡视频| 水蜜桃久久夜色精品一区的特点| 国产一区二区看久久| 色欧美88888久久久久久影院| 日韩一区二区在线观看| 国产精品久久久久影视| 欧美aaa在线| 91尤物视频在线观看| 日韩女优制服丝袜电影| 18欧美亚洲精品| 久久99精品国产麻豆婷婷洗澡| 色悠悠亚洲一区二区| 精品成人一区二区三区| 亚洲综合在线免费观看| 国产精品一区二区男女羞羞无遮挡 | 色哟哟国产精品| 亚洲精品在线电影| 一区二区激情视频| 福利一区二区在线| 欧美不卡123| 午夜不卡av免费| 日本精品一区二区三区四区的功能| 26uuu精品一区二区三区四区在线 26uuu精品一区二区在线观看 | 亚洲伦理在线免费看| 国产精品一区久久久久| 欧美不卡在线视频| 日韩不卡在线观看日韩不卡视频| 色综合天天综合网国产成人综合天 | 国产精品久久久久一区二区三区共| 精品无人码麻豆乱码1区2区 | 国产真实乱对白精彩久久| 欧美三级资源在线| 亚洲青青青在线视频| 99视频一区二区| 国产精品欧美久久久久一区二区| 国产精品一区二区免费不卡 | 国产黄色成人av| 欧美一区二区三区白人| 亚洲成av人在线观看| 欧美撒尿777hd撒尿| 午夜久久久影院| 欧美日韩高清一区二区不卡| 亚洲精选视频在线| 色乱码一区二区三区88| 一区二区三区在线视频免费 | 国产一区二区三区在线观看免费视频 | 国产精品视频观看| 成人黄页毛片网站| 综合亚洲深深色噜噜狠狠网站| 成人黄色a**站在线观看| 中文字幕精品—区二区四季| 成人午夜电影久久影院| 国产精品视频免费| 在线观看一区二区视频| 亚洲.国产.中文慕字在线| 欧美日韩成人高清| 热久久免费视频| 久久蜜桃av一区精品变态类天堂 | 日韩极品在线观看| 日韩美女一区二区三区四区| 国产一区二区精品在线观看| 国产精品久久久久aaaa| 欧美性大战久久久久久久蜜臀| 午夜不卡av在线| 欧美激情一区二区三区全黄| 91美女在线视频| 美国十次综合导航| 中文字幕第一区| 欧美日本在线一区| 国产精品一级黄| 一区二区国产视频| 久久综合国产精品| 色八戒一区二区三区| 看电视剧不卡顿的网站| 国产精品欧美久久久久无广告 | 亚洲国产视频在线| 久久久噜噜噜久久人人看| 色呦呦国产精品| 黄页视频在线91| 一区二区三区精品| 2欧美一区二区三区在线观看视频| 91小视频在线| 国产美女娇喘av呻吟久久| 亚洲国产精品影院| 国产精品午夜在线观看| 欧美大片在线观看一区| 日本久久电影网| 成人午夜视频福利| 毛片一区二区三区| 一区二区不卡在线播放| 国产精品污污网站在线观看| 日韩一区二区影院| 在线观看国产日韩| voyeur盗摄精品| 国产在线不卡一卡二卡三卡四卡| 亚洲电影中文字幕在线观看| 国产精品亲子乱子伦xxxx裸| 精品国精品国产| 51精品国自产在线| 欧美日韩综合色| 欧美中文字幕久久| 99精品视频一区二区三区| 久久不见久久见免费视频1| 亚洲高清一区二区三区| 亚洲视频一区二区免费在线观看| 久久久一区二区三区捆绑**| 91麻豆精品国产91久久久久久| 在线日韩av片| 色狠狠av一区二区三区| 91无套直看片红桃| 成人午夜看片网址| 国产白丝精品91爽爽久久| 国产精品亚洲一区二区三区妖精| 美女国产一区二区| 久久国产生活片100| 日本视频一区二区| 视频一区欧美精品| 日韩av网站免费在线| 蜜桃精品在线观看| 精久久久久久久久久久| 韩国成人福利片在线播放| 国内精品第一页| 国产高清不卡一区| 国产.精品.日韩.另类.中文.在线.播放| 国产在线麻豆精品观看| 国产一区二区免费在线| 高清免费成人av| 99久久精品免费精品国产| 91蝌蚪porny成人天涯| 91福利精品第一导航| 欧美天堂亚洲电影院在线播放| 精品视频1区2区3区| 91麻豆精品国产自产在线观看一区| 91精品欧美久久久久久动漫| 日韩欧美一级二级| 中文字幕乱码日本亚洲一区二区| 国产精品嫩草99a| 伊人开心综合网| 天堂一区二区在线| 国产一区二区三区av电影| 成人一级黄色片| 欧美日韩精品一区二区三区| 3atv一区二区三区| 国产午夜亚洲精品不卡| 一区二区不卡在线播放 | 久久久久高清精品| 亚洲视频网在线直播| 日本欧美一区二区在线观看| 国产大陆亚洲精品国产| 欧美视频在线不卡| 久久综合九色综合欧美就去吻| 国产精品伦一区| 日韩va亚洲va欧美va久久| 成人一区在线看| 欧美精品久久天天躁| 国产精品久久久久久久裸模| 日韩av中文字幕一区二区 | 亚洲一二三区在线观看| 国产一区二区三区久久悠悠色av | 久久国产精品72免费观看| 99re免费视频精品全部|