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

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

?? gganders.m

?? 一個關于SVM支持向量機的計算例程, 用MATLAB做的,請多指教
?? M
字號:
function [alpha,theta,solution,minr,t,maxerr]=...   gganders(MI,SG,J,tmax,stopCond,t,alpha,theta)% GGANDERS solves Generalized Anderson's task, generalized gradient.% [alpha,theta,solution,minr,t,maxerr]=...%    gganders(MI,SG,J,tmax,stopCond,t,alpha,theta)%% GGANDERS 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.)%% GGANDERS(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 stopCond[1x2] see comments above.%% GGANDERS(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% The serie of steps in steapest descent is given as NI(t)=NI0/t.NI0=1;% 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 multiplicant   ni=NI0/t;   % compute new alpha   alpha=alpha+ni*x0/norm(x0);   % 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      oldminr=minr;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一区二区三区免费野_久草精品视频
亚洲高清免费在线| 亚洲九九爱视频| 欧美嫩在线观看| 欧美在线你懂的| 色婷婷综合久久久久中文| 95精品视频在线| 色综合中文字幕国产| www.色精品| 91在线视频播放地址| 91小宝寻花一区二区三区| 91老师国产黑色丝袜在线| 99精品国产99久久久久久白柏| 大白屁股一区二区视频| 白白色亚洲国产精品| 色综合久久88色综合天天免费| 色综合天天做天天爱| 欧美伊人久久久久久久久影院| 在线亚洲免费视频| 欧美精品三级在线观看| 欧美成人aa大片| 国产亚洲精品7777| 亚洲久本草在线中文字幕| 天天影视涩香欲综合网| 久久99精品一区二区三区| 国产黄色精品网站| 一本色道综合亚洲| 欧美一区二区高清| 欧美韩日一区二区三区四区| 一区二区三区不卡在线观看| 麻豆91在线播放免费| 韩国一区二区三区| 91亚洲国产成人精品一区二三| 欧美喷潮久久久xxxxx| 久久免费国产精品| 亚洲国产另类av| 粉嫩aⅴ一区二区三区四区五区 | 欧美性生交片4| 日韩免费福利电影在线观看| 色综合久久综合| 亚洲一区二区在线免费观看视频| 色久优优欧美色久优优| 一区二区三国产精华液| 欧美中文字幕一区二区三区亚洲| 一区二区三区四区乱视频| 国产色一区二区| 亚洲男人的天堂在线观看| 久久国产三级精品| 欧洲另类一二三四区| 国产午夜久久久久| 日韩电影在线看| 91麻豆蜜桃一区二区三区| 久久综合九色综合欧美亚洲| 亚洲一区二区三区视频在线播放| 国产一区二区三区免费看| 欧美日韩小视频| 亚洲免费资源在线播放| 成人精品视频一区二区三区尤物| 6080yy午夜一二三区久久| 玉米视频成人免费看| 国产成人无遮挡在线视频| 日韩写真欧美这视频| 亚洲成人精品一区二区| 色综合天天综合网国产成人综合天| 欧洲精品一区二区三区在线观看| 五月天久久比比资源色| 欧美精品一区二区三区蜜桃视频| 91欧美一区二区| 日本一区二区三区四区| 捆绑调教美女网站视频一区| 欧美精品三级日韩久久| 一区二区三区四区高清精品免费观看| 国内成+人亚洲+欧美+综合在线| 91精品国产入口在线| 亚洲aaa精品| 欧美日韩1区2区| 亚洲网友自拍偷拍| 欧美午夜精品久久久久久超碰| 亚洲精品国产高清久久伦理二区| 成人激情综合网站| 亚洲天堂2014| 日本精品视频一区二区三区| 亚洲免费观看高清完整版在线观看| 成人h动漫精品一区二区| 亚洲丝袜精品丝袜在线| 91在线视频免费观看| 一区二区三区视频在线看| 日本韩国欧美三级| 偷拍一区二区三区| 日韩欧美一二区| 韩国成人精品a∨在线观看| 久久久久99精品国产片| 北条麻妃国产九九精品视频| 亚洲免费av网站| 8x8x8国产精品| 久草在线在线精品观看| 国产精品每日更新在线播放网址| 国产一区二区三区综合| 中文字幕制服丝袜一区二区三区| 91在线无精精品入口| 丝袜亚洲另类欧美| 亚洲精品一区二区三区精华液| 国产成人在线免费观看| 亚洲日本免费电影| 制服丝袜亚洲网站| 国产福利一区在线| 亚洲一级二级三级| 亚洲精品在线三区| 日本高清不卡aⅴ免费网站| 五月天国产精品| 亚洲国产成人私人影院tom| 欧美亚洲丝袜传媒另类| 国产一区美女在线| 一区二区三区四区视频精品免费| 日韩欧美在线1卡| av不卡免费电影| 免费观看成人鲁鲁鲁鲁鲁视频| 欧美极品另类videosde| 欧美另类一区二区三区| 丁香婷婷深情五月亚洲| 亚洲精选免费视频| 精品国产一区二区三区忘忧草 | 欧美日韩视频第一区| 亚洲国产欧美另类丝袜| 国产a精品视频| 免费在线观看精品| 美国十次了思思久久精品导航| 午夜视黄欧洲亚洲| 免费观看在线色综合| 老司机精品视频导航| 国产成人免费视频精品含羞草妖精 | 懂色av一区二区三区蜜臀| 天天色天天爱天天射综合| 国产精品国产三级国产普通话蜜臀 | 99精品热视频| 国产毛片精品视频| 美女诱惑一区二区| 亚洲成人av一区| 亚洲美女视频在线| 自拍视频在线观看一区二区| 日韩欧美的一区| 9191精品国产综合久久久久久| www.爱久久.com| 国产不卡在线视频| 国产乱码精品一区二区三区忘忧草| 亚洲第一会所有码转帖| 亚洲精品日日夜夜| 亚洲柠檬福利资源导航| 亚洲欧美一区二区不卡| 国产精品每日更新| 国产精品丝袜91| 日本一区二区在线不卡| 国产午夜精品一区二区三区嫩草| 日韩视频一区二区在线观看| 日韩午夜精品视频| 69av一区二区三区| 欧美一区二区三区四区五区 | 欧美一卡二卡三卡| 日韩一区二区麻豆国产| 日韩一级片网址| 欧美成人官网二区| 精品动漫一区二区三区在线观看| 日韩欧美国产成人一区二区| 欧美电影免费观看高清完整版在| 91精品免费在线| 日韩一区二区免费电影| xfplay精品久久| 欧美精彩视频一区二区三区| 日本一区二区三区高清不卡| 国产精品无码永久免费888| 国产精品成人免费在线| 亚洲天堂av老司机| 午夜精品一区二区三区三上悠亚| 日日摸夜夜添夜夜添精品视频| 日韩av一区二| 国产成人免费在线视频| 91在线观看美女| 欧美日韩精品一区视频| 日韩精品中文字幕一区二区三区 | 91精品国产麻豆| 精品国产三级电影在线观看| 国产欧美日韩三级| 亚洲精品国产a| 蜜桃视频一区二区三区在线观看| 国产成都精品91一区二区三| 91在线看国产| 7777精品伊人久久久大香线蕉超级流畅 | 欧美va在线播放| 中文字幕一区免费在线观看| 亚洲国产精品一区二区久久| 美洲天堂一区二卡三卡四卡视频| 国产福利一区二区三区视频在线| 91麻豆精品在线观看| 日韩欧美国产麻豆| 亚洲少妇最新在线视频| 青青草97国产精品免费观看 | 一区二区三区四区不卡在线 | 在线观看一区不卡| 久久只精品国产| 亚洲国产人成综合网站| 国产成人午夜精品5599|