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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? andrdemo.m

?? 這里實現(xiàn)了四種SVM工具箱的分類與回歸算法
?? M
?? 第 1 頁 / 共 2 頁
字號:
function result = andrdemo(action,hfigure,varargin)
% ANDRDEMO demo on Generalized Anderson's task.%% ANDRDEMO demonstrates the algorithms which solve %  the Generalized Anderson`s Task (GAT). %%  The found solution (hyperplane, line in 2D) is vizualized %  as well as the input Gaussians which describe input classes.%%  Following algorithms can be tested:%     %  e-Optimal - Epsilon-solution of the GAT.%  Original  - Original Anderson-Bahadur's solution for two distributions.%  Gradient  - Algorithm using theorem of the generalized gradient methods.%  General   - Implementation of general algorithm framework by SH10.%  General2  - Implementation of general algorithm framework, improved.%% Control:%  Algorithm  - select algorithm for testing.%  Parameter input line - parameters for the selected algorithm%             (see help 'given 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, OANDERS, GGANDERS, 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) 24.10.1999, 27.02.2000
% Modifications
% 11-June-2001, V.Franc, comments added.% 24. 6.00 V. Hlavac, comments polished.

% constants
ALGONAMES=['e-Optimal ';'Original  ';'Gradient  ';'General   ';'General 2 '];
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 1
            'd( min r ) (0,inf)  '];      % General solution 2
DEF_PRECISION=[5,1e-3,0,0,0];     % default values of the precision of algo. 1,2,3,4,5
BORDER=0.5;
DATA_IDENT='Infinite sets, Normal distributions';       % M-file identifier
%PLOT_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 action
if 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','Andrdemo',...
      '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','andrdemo(''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','andrdemo(''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','andrdemo(''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','andrdemo(''reset'',gcf)');

   % Create data
   bottom=bottom+1.5*height;
    hbtcreat = uicontrol(...
      'Units','Normalized', ...
      'ListboxTop',0, ...
        'Position',[left bottom width height], ...
      'String','Create data', ...
      'Callback','andrdemo(''creatdata'',gcf)');

   % Load data
   bottom=bottom+1*height;
    hbtload = uicontrol(...
      'Units','Normalized', ...
      'ListboxTop',0, ...
        'Position',[left bottom width height], ...
      'String','Load data', ...
      'Callback','andrdemo(''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','andrdemo(''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
   andrdemo('reset',hfigure);

   % Put figure on desktop
   set(hfigure,'Visible','on');

   drawnow;


case 'creatdata'
   % == Invoke data set creator ============================================
   creatset('normal',2,'andrdemo','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,
      file.pathname=pathname;
      file.path=path;
      file.name=name;
      set(h.btload,'UserData',file);
      andrdemo('loadsets',hfigure);
      andrdemo('reset',hfigure);
   else
      errordlg('This file does not contain required data.','Bad file','modal');
   end


case 'getfile'
   % == Invoke standard open file dialog ====================================
   % Opens file and checks if contains apropriate data, if yes loads data.

   h=get(hfigure,'UserData');

   % change path to directory
%%   wres=what('anderson');
%%   cd(wres.path);

   [name,path]=uigetfile('*.mat','Open file');
   if name~=0,
      file.pathname=strcat(path,name);
      file.path=path;
      file.name=name;

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品福利一二区| 26uuu精品一区二区| 国产成a人无v码亚洲福利| 五月天网站亚洲| 亚洲一二三专区| 亚洲综合另类小说| 无码av中文一区二区三区桃花岛| 亚洲永久免费视频| 日韩一区欧美二区| 美女精品一区二区| 国产成人一区在线| 99久久99久久久精品齐齐| 欧美专区在线观看一区| 欧美影院一区二区三区| 日韩一区二区在线观看| 久久九九国产精品| 亚洲激情五月婷婷| 日韩高清中文字幕一区| 国产一区二区在线看| www.亚洲国产| 欧美喷潮久久久xxxxx| 久久综合狠狠综合久久综合88 | 中文字幕欧美激情一区| 国产精品伦理一区二区| 夜夜爽夜夜爽精品视频| 美女视频黄免费的久久| 成人午夜免费视频| 欧美精品vⅰdeose4hd| 国产蜜臀97一区二区三区| 亚洲国产一区视频| 国产一区二区三区观看| 在线一区二区三区| 精品日韩在线观看| 亚洲综合网站在线观看| 国产精品18久久久久久久网站| 一本高清dvd不卡在线观看| 91精品国产综合久久久久久 | 一个色在线综合| 精品一区在线看| 91久久免费观看| 久久久综合视频| 日本成人中文字幕在线视频| 成人免费观看视频| 日韩欧美国产综合在线一区二区三区| 中文字幕欧美激情一区| 九九热在线视频观看这里只有精品| 成人国产在线观看| 久久综合av免费| 日韩高清不卡一区二区三区| 91福利区一区二区三区| 国产精品人成在线观看免费| 精品影视av免费| 欧美精品自拍偷拍| 亚洲免费在线播放| 国产91精品一区二区| 日韩精品一区二区三区视频播放 | 五月婷婷久久丁香| 日本高清免费不卡视频| 中文字幕第一区第二区| 激情欧美一区二区| 欧美一区二区黄色| 日韩vs国产vs欧美| 精品视频1区2区3区| 亚洲欧美日韩久久| 91影院在线观看| 国产精品三级av| 成人av在线网| 国产精品的网站| 97se亚洲国产综合自在线| 国产精品毛片a∨一区二区三区| 国产精品综合网| 国产欧美日韩综合精品一区二区| 日本亚洲三级在线| 777午夜精品视频在线播放| 五月天视频一区| 日韩一区二区中文字幕| 久久99国产精品成人| 精品福利av导航| 国产成人自拍在线| 国产精品天天看| 97se亚洲国产综合自在线观| 亚洲激情在线播放| 这里只有精品免费| 美女视频一区二区三区| xnxx国产精品| 成人国产亚洲欧美成人综合网| 国产精品超碰97尤物18| 欧美丝袜丝交足nylons图片| 日韩专区在线视频| 26uuu色噜噜精品一区| 国产精品一区二区不卡| 日韩伦理av电影| 欧美日韩午夜影院| 日本美女一区二区三区视频| 久久久久久亚洲综合影院红桃| 成人午夜精品在线| 亚洲品质自拍视频| 日韩一区二区三区视频在线 | 91麻豆蜜桃一区二区三区| 亚洲一区中文在线| 精品国产免费一区二区三区四区 | 麻豆91在线看| 国产女同性恋一区二区| 在线观看一区二区视频| 视频一区二区不卡| 国产精品久久二区二区| 在线观看国产一区二区| 老司机精品视频在线| 国产精品少妇自拍| 欧美日韩精品一区二区| 国产精品综合二区| 亚洲国产精品一区二区久久| 2021国产精品久久精品| 99久久婷婷国产综合精品 | 丁香婷婷综合色啪| 亚洲国产综合色| 国产婷婷色一区二区三区四区| 欧洲国产伦久久久久久久| 久久99精品久久久久婷婷| 亚洲综合丁香婷婷六月香| 久久久精品综合| 91精品啪在线观看国产60岁| 国产99久久久国产精品| 全国精品久久少妇| 亚洲电影中文字幕在线观看| 国产精品美女久久福利网站| 精品久久久久久综合日本欧美| 欧美日韩一区二区在线观看视频| 国产成人午夜精品5599| 麻豆91在线播放| 五月婷婷色综合| 亚洲国产sm捆绑调教视频| 亚洲欧洲av另类| 中文av字幕一区| 国产亚洲一区二区三区四区| 日韩一区二区三区在线观看 | www.日韩精品| 高清国产一区二区| 国产一区二区三区免费看 | 一本大道久久a久久综合婷婷| 国产美女视频91| 久久精品久久精品| 人人超碰91尤物精品国产| 五月天中文字幕一区二区| 亚洲国产色一区| 亚洲激情第一区| 亚洲人成网站影音先锋播放| 亚洲视频在线一区二区| 国产精品灌醉下药二区| 国产精品视频在线看| 国产精品美女久久久久aⅴ| 国产精品网站导航| 国产精品福利一区| 亚洲精品欧美激情| 亚洲国产va精品久久久不卡综合| 亚洲一区二三区| 午夜精品久久久久久久久久久 | 久久久精品日韩欧美| 亚洲精品在线三区| 久久综合色综合88| 国产调教视频一区| 中文字幕一区二区在线播放| 亚洲品质自拍视频| 亚洲成人在线网站| 蜜臀91精品一区二区三区| 老司机一区二区| 国产**成人网毛片九色 | 911国产精品| 精品国产1区2区3区| 国产精品丝袜91| 亚洲福利视频导航| 激情av综合网| 成人精品高清在线| 欧美日韩一二三区| 26uuuu精品一区二区| 亚洲少妇30p| 日韩精品午夜视频| 国产成人综合网| 欧美私模裸体表演在线观看| 日韩免费一区二区三区在线播放| 国产日韩一级二级三级| 亚洲综合视频在线观看| 国内成人自拍视频| 欧美综合天天夜夜久久| 久久久另类综合| 一二三四社区欧美黄| 国内成人精品2018免费看| 色综合天天视频在线观看| 日韩女优电影在线观看| 亚洲精品久久久久久国产精华液| 麻豆精品在线看| 91免费观看国产| 精品剧情在线观看| 亚洲成人午夜电影| 成人午夜av在线| 日韩欧美高清dvd碟片| 亚洲自拍偷拍图区| 国产91在线|亚洲| 欧美成人a∨高清免费观看| 夜夜精品视频一区二区|