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

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

?? gganders2.m

?? 這里實現了四種SVM工具箱的分類與回歸算法
?? 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一区二区三区免费野_久草精品视频
国产视频911| 欧美日韩免费一区二区三区视频| 日韩精品一区二| 久久成人av少妇免费| 欧美一区二视频| 视频一区国产视频| 日韩一级片在线观看| 免费人成黄页网站在线一区二区 | 日韩欧美色电影| 日本欧美一区二区在线观看| 日韩亚洲欧美一区| 久久精品99国产精品日本| 日韩精品一区二区三区视频在线观看 | 国产日韩精品久久久| 国产精品一卡二卡在线观看| 中文字幕一区二区不卡| 91色porny| 亚洲一区二区三区四区在线| 欧美日韩aaaaa| 精品亚洲国产成人av制服丝袜| 国产欧美综合色| 91亚洲精品乱码久久久久久蜜桃| 亚洲永久精品大片| 精品国产乱码久久久久久影片| 懂色av一区二区夜夜嗨| 一区二区日韩av| 日韩视频免费观看高清完整版| 国产**成人网毛片九色 | 欧美色视频一区| 激情五月婷婷综合| 亚洲欧美色图小说| 日韩欧美二区三区| 91在线看国产| 美女视频黄a大片欧美| 国产精品污www在线观看| 欧美专区在线观看一区| 激情亚洲综合在线| 亚洲美女一区二区三区| 日韩欧美一区二区视频| 91麻豆免费看| 国模娜娜一区二区三区| 日韩女优av电影| 91丨九色丨国产丨porny| 美女精品一区二区| 亚洲精品国产精品乱码不99| 久久亚洲捆绑美女| 欧美日韩美女一区二区| 国产成人精品综合在线观看| 午夜精品福利一区二区三区蜜桃| 国产免费观看久久| 日韩午夜av电影| 日本道色综合久久| 高清不卡一区二区在线| 免费在线观看不卡| 亚洲一区二区四区蜜桃| 国产精品欧美精品| 2017欧美狠狠色| 5858s免费视频成人| 色综合天天天天做夜夜夜夜做| 久久不见久久见中文字幕免费| 亚洲一区二区影院| 亚洲人一二三区| 国产精品少妇自拍| 欧美精品一区二区三区很污很色的| 欧美亚洲一区二区在线| 成人综合在线网站| 国产综合久久久久久久久久久久 | 亚洲人成7777| 国产亚洲欧美色| 精品国产乱码久久久久久牛牛| 欧美美女激情18p| 波波电影院一区二区三区| 国产综合色精品一区二区三区| 日本不卡123| 日韩电影在线观看电影| 日韩精品一二三区| 亚洲国产日韩综合久久精品| 亚洲久本草在线中文字幕| 国产精品高潮呻吟| 国产精品麻豆一区二区| 午夜成人免费视频| 亚洲一区二区在线视频| 夜夜夜精品看看| 一区二区三区美女视频| 亚洲一区二区三区在线| 亚洲一区中文在线| 偷窥少妇高潮呻吟av久久免费| 亚洲国产精品久久久男人的天堂| 一区二区三区四区视频精品免费 | jlzzjlzz亚洲日本少妇| 成人黄色在线看| 99久久99久久精品免费看蜜桃| 99久久精品国产网站| aaa欧美色吧激情视频| 在线观看视频91| 制服丝袜中文字幕亚洲| 精品电影一区二区三区 | 欧美国产1区2区| 中文字幕中文在线不卡住| 亚洲视频中文字幕| 亚洲第一电影网| 久久99国内精品| 成人一区在线看| 色综合天天做天天爱| 欧美人与性动xxxx| 亚洲精品一区二区三区蜜桃下载| 亚洲精品一区二区三区精华液| 国产精品色哟哟| 亚洲综合色丁香婷婷六月图片| 日本美女一区二区三区视频| 国产一区二区三区四区五区入口 | 国产高清不卡一区二区| 94-欧美-setu| 4438成人网| 欧美激情一区在线| 亚洲综合小说图片| 精品一区中文字幕| 91麻豆免费视频| 日韩视频永久免费| 成人免费在线视频| 久久精品噜噜噜成人av农村| 丰满放荡岳乱妇91ww| 欧美日韩久久久| 国产亚洲欧美日韩俺去了| 亚洲精品视频观看| 精品伊人久久久久7777人| 成年人网站91| 日韩欧美电影一区| 一区二区三区小说| 国产麻豆9l精品三级站| 欧美性生交片4| 中文字幕的久久| 日韩国产欧美三级| 成人免费视频免费观看| 欧美一级理论片| 亚洲免费视频成人| 狠狠色丁香久久婷婷综合_中| 在线观看一区日韩| 欧美高清一级片在线观看| 人妖欧美一区二区| 91福利国产精品| 国产精品三级在线观看| 精久久久久久久久久久| 欧美私人免费视频| 亚洲欧美日韩在线| 大美女一区二区三区| 精品国产免费一区二区三区四区| 夜夜嗨av一区二区三区四季av| 国产一区二区三区久久久| 欧美一区日本一区韩国一区| 一区二区三区四区乱视频| 国产不卡高清在线观看视频| 亚洲精品在线免费观看视频| 日韩av中文字幕一区二区| 91黄色小视频| 亚洲天堂免费看| 国产成人aaaa| 国产婷婷精品av在线| 狠狠色丁香九九婷婷综合五月| 欧美色成人综合| 一区二区三区久久| 99re成人精品视频| 国产精品人妖ts系列视频| 国产精品综合在线视频| 欧美tickling网站挠脚心| 日本美女视频一区二区| 欧美久久一区二区| 一区二区三区欧美视频| 色综合色综合色综合| 亚洲免费观看高清在线观看| 99久久久久久| 一区二区三区在线播放| 日本高清无吗v一区| 亚洲激情校园春色| 在线观看免费成人| 亚洲午夜av在线| 欧美高清视频在线高清观看mv色露露十八| 亚洲日本中文字幕区| 色欧美日韩亚洲| 亚洲午夜私人影院| 欧美日韩成人综合| 日本在线不卡视频一二三区| 欧美日韩欧美一区二区| 青青草国产成人99久久| 精品日本一线二线三线不卡| 国产一二精品视频| 中文在线资源观看网站视频免费不卡| 国产精品自拍在线| 国产精品久久午夜| 色又黄又爽网站www久久| 亚洲成av人片| 欧美电影免费观看高清完整版在 | 中文字幕在线免费不卡| 91原创在线视频| 亚洲一区在线免费观看| 日韩一区二区三区观看| 国产99精品在线观看| 亚洲精品美腿丝袜| 91精品国产入口在线| 韩国女主播成人在线|