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

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

?? demo_anderson.m

?? support vector machine的一個matlab工具箱
?? M
?? 第 1 頁 / 共 3 頁
字號:
function result = demo_anderson(action,hfigure,varargin)% DEMO_ANDERSON Demo on Generalized Anderson's task.%% Synopsis:%  demo_anderson%% Description:%  This demo demonstrates the algorithms which solve %  the Generalized Anderson`s Task (GAT) [SH10]. The GAT is an %  instance of the non-Bayesian task of decision under %  non-random intervention. % %  The goal of is to find a binary linear classification%  rule (g(x)=sgn(W'*x+b) (line in 2D) with minimal probability of%  misclassification. The conditional probabilities are known to%  be Gaussians their paramaters belong to a given set of %  parameters. The true parameters are not known. The linear rule %  which guarantes the minimimal classification error for the worst%  possible case (the worst configuration of Gaussains) is%  sought for.%  %  The found solution (hyperplane, line in 2D) is vizualized %  as well as the input Gaussians which describe input classes.%%  Following algorithms can be tested:%     %  Eps-solution - Finds epsilon-solution of the GAT in finite number%              of iterations if such solution exist. The epsilon means%              desired classification error.%  Original  - Original Anderson-Bahadur's algorithm defined for %              two Gaussians only (each class one Gaussian).%  Optimal   - Implementation of general algorithm propsed by Schlesinger.%              It finds the optimal solution.%  Gradient  - Fast and simple implementation which uses the generalized%              gradient descent optimization.%% Control:%  Algorithm  - select algorithm for testing.%  Parameter  - parameters for the selected algorithm.%  Iterations - number of iterations in one step.%  Animation  - enable/dissable animation.%%  FIG2EPS     - export screen to the PostScript file.%  Load data   - load input point sets from file.%  Create data - call interactive program for creating sets of Gaussians.%  Reset       - set the tested algorithm to the initial state.%  Play        - run the tested algorithm.%  Stop        - stop the running algorithm.%  Step        - perform only one step.%  Info        - display the info box.%  Close       - close the program.%% See also %  EANDERS, ANDRORIG, GGRADANDR, GANDERS.%% About: Statistical Pattern Recognition Toolbox% (C) 1999-2003, Written by Vojtech Franc and Vaclav Hlavac% <a href="http://www.cvut.cz">Czech Technical University Prague</a>% <a href="http://www.feld.cvut.cz">Faculty of Electrical Engineering</a>% <a href="http://cmp.felk.cvut.cz">Center for Machine Perception</a>% Modifications:% 17-sep-2003, VF% 11-June-2001, V.Franc, comments added.% 24. 6.00 V. Hlavac, comments polished.% constantsALGONAMES=['Eps-solution ';...           'Original     ';...           'Gradient     ';...           'Optimal      '];PREC_TITLE=['Max error (0-50) [%]';...    % e-Optimal solution            'd(lambda,ni) (0,inf)';...    % Original Anderson`s solution            'd( min r ) (0,inf)  ';...    % Gradient method            'd( min r ) (0,inf)  '];      % General solution DEF_PRECISION=[10,1e-3,1e-3,1e-3];  % default values of the precision of algo. 1,2,...BORDER=0.5;DATA_IDENT='Infinite sets, Normal distributions';       % M-file identifierPLOT_FCE='pandr2d';     % outlined ellipsoids%PLOT_FCE='pandr2df';     % outlined ellipsoids% if number of arguments is less then 1, that means first call of this function. Every% other calls set up at least argument actionif nargin < 1,   action = 'initialize';end% what action is required ?switch lower(action)case 'initialize'   % == Initialize user interface control and figure window ================   % == Figure =============================================================   left=0.1;   width=0.8;   bottom=0.1;   height=0.8;   hfigure=figure('Name','Anderson`s task', ...      'Visible','off',...      'Units','normalized', ...       'NumberTitle','off', ...      'Position',[left bottom width height],...      'tag','Demo_Anderson',...      'Units','normalized', ...      'RendererMode','manual');   % == Axes ===============================================================   left=0.1;   width=0.65;   % axes for showing sets   bottom=0.35;   height=0.60;   haxes1=axes(...       'Units','normalized', ...      'Box','on', ...      'DrawMode','fast',...      'NextPlot','add',...      'Layer','top',...      'UserData',[],...      'Position',[left bottom width height]);   xlabel('feature x');   ylabel('feature y');   % == Comment window =====================================================   % Comment Window frame   bottom=0.05;   height=0.2;   uicontrol( ...        'Style','frame', ...        'Units','normalized', ...        'Position',[left bottom width height], ...        'BackgroundColor',[0.5 0.5 0.5]);   % Text label   uicontrol( ...        'Style','text', ...        'Units','normalized', ...        'Position',[left height-0.01 width 0.05], ...        'BackgroundColor',[0.5 0.5 0.5], ...        'ForegroundColor',[1 1 1], ...        'String','Comment Window');   % Edit window   border=0.01;   hconsole=uicontrol( ...        'Style','edit', ...        'HorizontalAlignment','left', ...        'Units','normalized', ...        'Max',10, ...        'BackgroundColor',[1 1 1], ...        'Position',[left+border bottom width-2*border height-0.05], ...        'Enable','inactive',...        'String','');    % == Buttons ===========================================================   % -- Export to EPS ---------   width=0.1;   left=0.75-width;   bottom=0.95;   height=0.04;   hbtclose = uicontrol(...    'Units','Normalized', ...      'Callback','fig2eps(gcf)',...        'ListboxTop',0, ...        'Position',[left bottom width height], ...      'String','FIG2EPS');   %----------------------------------   % Close button   left=0.8;   bottom=0.05;   height=0.05;   width=0.15;   hbtclose = uicontrol(...    'Units','Normalized', ...      'Callback','close(gcf)',...        'ListboxTop',0, ...        'Position',[left bottom width height], ...        'String','Close');   % Info button: call stanard info box   bottom=bottom+1.5*height;   hbtinfo = uicontrol(...    'Units','Normalized', ...      'Callback','demo_anderson(''info'',gcf)',...        'ListboxTop',0, ...        'Position',[left bottom width height], ...        'String','Info');   % Step button: perform one adaptation step   bottom=bottom+1.5*height;    hbtstep = uicontrol(...      'Units','Normalized', ...      'ListboxTop',0, ...        'Position',[left bottom width height], ...      'String','Step', ...      'Interruptible','off',...      'Callback','demo_anderson(''step'',gcf)');   % Stop button: stop process of adaptation   bottom=bottom+height;   hbtstop = uicontrol(...    'Units','Normalized', ...        'ListboxTop',0, ...        'Position',[left bottom width height], ...      'String','Stop', ...      'Callback','set(gcbo,''UserData'',1)',...      'Enable','off');   % Play button: start up adaptation   bottom=bottom+height;   hbtplay = uicontrol(...    'Units','Normalized', ...      'ListboxTop',0, ...        'Position',[left bottom width height], ...      'String','Play', ...      'Callback','demo_anderson(''play'',gcf)');   % Reset button: set up t = 0   bottom=bottom+height;    hbtreset = uicontrol(...      'Units','Normalized', ...      'ListboxTop',0, ...        'Position',[left bottom width height], ...      'String','Reset', ...      'Callback','demo_anderson(''reset'',gcf)');   % Create data   bottom=bottom+1.5*height;    hbtcreat = uicontrol(...      'Units','Normalized', ...      'ListboxTop',0, ...        'Position',[left bottom width height], ...      'String','Create data', ...      'Callback','demo_anderson(''creatdata'',gcf)');   % Load data   bottom=bottom+1*height;    hbtload = uicontrol(...      'Units','Normalized', ...      'ListboxTop',0, ...        'Position',[left bottom width height], ...      'String','Load data', ...      'Callback','demo_anderson(''getfile'',gcf)');   % == Check boxes ===============================================================   % Make chack box to determine if a line will be drawn in one step or smoothly.   bottom=bottom+height*1.2;    hxbanim = uicontrol(...    'Style','checkbox', ...       'Units','normalized', ...    'ListboxTop',0, ...       'Position',[left bottom width height], ...    'String','Animation');   % == Popup menus ==========================================================   % Pop up menu for the selection between algorithms    % title   bottom=0.95-height;   htxalgo=uicontrol( ...      'Style','text', ...      'Units','normalized', ...      'Position',[left bottom width 0.9*height], ...      'String','Algorithm');   % popup menu   bottom=bottom-0.9*height;   hpualgo=uicontrol( ...      'Style','popup', ...      'Units','normalized', ...      'CallBack','demo_anderson(''algohandler'',gcf)',...      'Position',[left bottom width height], ...      'UserData',1,...      'String',ALGONAMES);   % == Edit lines ================================================================   bottom=0.95-3.5*height;   % Precision of solution   htxprec=uicontrol( ...      'Style','text', ...      'Units','normalized', ...      'Position',[left bottom width 0.9*height], ...      'String',PREC_TITLE(1,:));   bottom=bottom-height;   hedprec = uicontrol(...    'Units','normalized', ...      'ListboxTop',0, ...        'Position',[left bottom width height], ...      'Style','edit',...      'String',num2str(DEF_PRECISION(1)) );   % # of iterations   bottom=bottom-1.5*height;   htxiter=uicontrol( ...      'Style','text', ...      'Units','normalized', ...      'Position',[left bottom width 0.9*height], ...      'String','Iterations');   bottom=bottom-0.9*height;   hediter = uicontrol(...    'Units','normalized', ...      'ListboxTop',0, ...        'Position',[left bottom width height], ...      'Style','edit',...      'String',1);    % ==============================================================================   % Store handlers   handlers=struct(...      'line',struct('handler',-1,'alpha',0,'alpha1',0,'alpha2',0,'lambda',0,'theta',0,'t',0),...      'btstep',hbtstep,...      'btstop',hbtstop,...      'btclose',hbtclose,...      'btplay',hbtplay,...      'btreset',hbtreset,...      'btinfo',hbtinfo,...      'btload',hbtload,...      'btcreat',hbtcreat,...      'pualgo',hpualgo,...      'console',hconsole,...      'edprec',hedprec,...      'editer',hediter,...      'txprec',htxprec,...      'axes1',haxes1,...      'xbanim',hxbanim);   set(hfigure,'UserData',handlers);   % Reset adaptation, t=0   demo_anderson('reset',hfigure);   % Put figure on desktop   set(hfigure,'Visible','on');   drawnow;case 'creatdata'   % == Invoke data set creator ============================================%   creatset('normal',2,'demo_anderson','created',hfigure);   createdata('gauss',2,'demo_anderson','created',hfigure);case 'created'   % == Load new created data set ===========================================   % get handler and make this figure active   figure(hfigure);   h=get(hfigure,'UserData');   % get file name   path=varargin{1};   name=varargin{2};   pathname=strcat(path,name);%   if checkdat(pathname,DATA_IDENT,2,[0 0])==1,  if check2dgauss(pathname),      file.pathname=pathname;      file.path=path;      file.name=name;      set(h.btload,'UserData',file);      demo_anderson('loadsets',hfigure);      demo_anderson('reset',hfigure);   else      errordlg('This file does not contain required data.','Bad file','modal');   endcase 'getfile'   % == Invoke standard open file dialog ====================================   % Opens file and checks if contains apropriate data, if yes loads data.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久精品免费在线观看| 精品国产3级a| 7777精品伊人久久久大香线蕉完整版| 在线观看91av| 欧美极品美女视频| 日本欧美大码aⅴ在线播放| 成人丝袜高跟foot| 日韩一区二区中文字幕| 亚洲天堂中文字幕| 国产毛片精品视频| 欧美日韩黄视频| 亚洲精品乱码久久久久久日本蜜臀| 蜜臀av一区二区三区| 在线观看亚洲成人| 中文字幕 久热精品 视频在线| 人人爽香蕉精品| 色婷婷狠狠综合| 国产欧美精品日韩区二区麻豆天美| 午夜av电影一区| 91久久人澡人人添人人爽欧美| 久久亚洲精精品中文字幕早川悠里| 亚洲成人免费在线观看| 成人午夜精品在线| 久久久精品欧美丰满| 热久久久久久久| 欧美肥妇毛茸茸| 午夜久久久久久久久久一区二区| 日韩亚洲欧美在线| 亚洲va国产va欧美va观看| 不卡的av电影| 国产精品毛片高清在线完整版| 精品一区二区三区不卡| 欧美一级片在线观看| 亚洲成人久久影院| 久久久久亚洲蜜桃| 麻豆国产一区二区| 精品国产一区二区三区忘忧草 | 精品国产乱码久久久久久老虎| 亚洲自拍欧美精品| 欧洲人成人精品| 一区二区三区四区视频精品免费| 99精品桃花视频在线观看| 国产精品久久久久久久浪潮网站| 国产91高潮流白浆在线麻豆| 日本一二三不卡| 99精品在线免费| 亚洲男人天堂av网| 在线精品视频小说1| 樱花影视一区二区| 欧美日韩一级视频| 视频一区二区三区在线| 在线播放一区二区三区| 久久爱www久久做| 久久亚洲一区二区三区四区| 成人免费观看男女羞羞视频| 1000部国产精品成人观看| 色婷婷av一区二区三区软件| 亚洲国产另类av| 欧美成人a∨高清免费观看| 欧美久久久久中文字幕| 亚洲bt欧美bt精品| 日韩欧美黄色影院| 国产v综合v亚洲欧| 亚洲综合在线电影| 日韩欧美国产高清| 成人福利在线看| 亚洲一区二区三区中文字幕| 日韩女优毛片在线| 懂色av中文一区二区三区| 亚洲午夜免费视频| 久久久综合精品| 在线亚洲高清视频| 久久精品久久精品| 亚洲视频狠狠干| 日韩亚洲欧美在线| 96av麻豆蜜桃一区二区| 日韩精品三区四区| 中文字幕一区二区三| 欧美精品在线观看播放| 国产成人99久久亚洲综合精品| 亚洲一区二区三区自拍| 久久久久久久久久久久久久久99 | 91精品国产欧美一区二区| 国产美女一区二区三区| 亚洲第一主播视频| 国产精品久久久久久久久动漫 | 91精品福利在线一区二区三区 | 亚洲欧洲一区二区在线播放| 在线观看国产91| 国产成人h网站| 视频一区中文字幕国产| 国产精品久久久久久久午夜片| 欧美一区二区三区免费| 欧美主播一区二区三区| 成人精品电影在线观看| 免费在线欧美视频| 亚洲一区二区成人在线观看| 国产女人18水真多18精品一级做 | 日韩中文字幕av电影| 成人欧美一区二区三区| 久久精品夜夜夜夜久久| 日韩一区二区三区av| 91成人在线免费观看| www.亚洲人| 国产不卡视频在线播放| 国产美女久久久久| 九一九一国产精品| 日韩电影在线看| 天堂成人免费av电影一区| 亚洲成人在线观看视频| 亚洲免费av观看| 偷拍亚洲欧洲综合| 亚洲欧美一区二区在线观看| 久久婷婷成人综合色| 日韩欧美亚洲国产精品字幕久久久| 91首页免费视频| 99视频一区二区| 99久久国产免费看| av不卡免费电影| 欧美综合一区二区三区| 欧美在线一区二区三区| 在线免费不卡视频| 欧美日韩视频一区二区| 欧美日韩亚洲另类| 欧美精品第1页| 91精品国产综合久久精品性色| 欧美丰满美乳xxx高潮www| 欧美一区二区不卡视频| 欧美岛国在线观看| 久久伊人中文字幕| 亚洲国产成人在线| 亚洲欧美日韩在线不卡| 夜夜嗨av一区二区三区中文字幕| 亚洲乱码国产乱码精品精98午夜| 亚洲一区二区免费视频| 日本欧美大码aⅴ在线播放| 91女神在线视频| 色又黄又爽网站www久久| 欧美日韩国产色站一区二区三区| 3d动漫精品啪啪| 久久一区二区三区四区| 国产精品二三区| 亚洲v日本v欧美v久久精品| 蜜桃av一区二区| 成人小视频免费观看| 欧美日韩亚州综合| 日韩欧美中文字幕一区| 国产无一区二区| 一区二区三区自拍| 奇米一区二区三区av| 成人午夜私人影院| 欧美视频一区二区| 亚洲精品在线电影| 亚洲色图.com| 久久精品久久99精品久久| av一区二区三区在线| 777亚洲妇女| 中文字幕巨乱亚洲| 三级欧美韩日大片在线看| 国产精品 欧美精品| 欧美在线视频你懂得| 久久久久久9999| 五月综合激情婷婷六月色窝| 国产精一区二区三区| 欧美美女直播网站| 欧美国产激情二区三区| 丝袜诱惑亚洲看片| 成人免费高清在线| 精品国产青草久久久久福利| 一区二区三区**美女毛片| 国内精品久久久久影院色| 欧美性猛交xxxx乱大交退制版| 亚洲国产日韩一区二区| 国产成人自拍网| 欧美日韩不卡一区| 亚洲六月丁香色婷婷综合久久 | 欧美精品一区二区在线观看| 一区二区三区美女视频| 国产成人99久久亚洲综合精品| 7878成人国产在线观看| 一区二区三区成人| www.亚洲在线| 国产午夜精品福利| 国产永久精品大片wwwapp| 欧美精品第一页| 亚洲一区二区三区在线看| 99久久综合99久久综合网站| 欧美哺乳videos| 免费高清视频精品| 欧美精品乱码久久久久久| 亚洲欧美日韩久久| av网站一区二区三区| 日本一区二区视频在线| 国产精品自拍毛片| 久久男人中文字幕资源站| 青草av.久久免费一区| 欧美日本韩国一区二区三区视频| 亚洲精品免费播放| 91黄色免费看| 亚洲成国产人片在线观看|