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

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

?? andrdemo.m

?? 四種支持向量機用于函數擬合與模式識別的Matlab示例程序
?? 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;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产一区二区福利| 欧美电影免费观看高清完整版在线 | 综合久久一区二区三区| 午夜激情久久久| 不卡av免费在线观看| 精品久久久网站| 亚洲伊人伊色伊影伊综合网| 国产九色精品成人porny| 欧美福利一区二区| 国产精品久久久久久久久免费相片| 日韩综合小视频| 94-欧美-setu| 国产女人18水真多18精品一级做| 亚洲国产色一区| 91免费看`日韩一区二区| 欧美电视剧免费全集观看| 亚洲午夜一区二区| 色悠悠久久综合| 亚洲欧洲日韩av| 99热精品一区二区| 日本一区二区三区四区| 国内精品久久久久影院色| 日韩欧美一二三区| 蜜臀av一区二区| 欧美一级精品在线| 奇米777欧美一区二区| 欧美日韩国产免费| 日精品一区二区三区| 欧美裸体一区二区三区| 污片在线观看一区二区| 欧美亚洲动漫另类| 亚洲综合一二三区| 欧美性极品少妇| 午夜亚洲福利老司机| 精品视频一区二区不卡| 亚洲国产日韩a在线播放性色| 一本色道**综合亚洲精品蜜桃冫| 亚洲婷婷在线视频| 91豆麻精品91久久久久久| 亚洲免费观看高清| 在线观看日韩av先锋影音电影院| 99re这里都是精品| 亚洲欧美日韩小说| 99re热这里只有精品视频| 中文字幕日韩欧美一区二区三区| 国产91精品一区二区| 中文字幕欧美国产| 色中色一区二区| 视频一区欧美精品| 欧美成人一区二区| 国产九色sp调教91| 国产精品伦理在线| 欧美日韩免费不卡视频一区二区三区| 无码av免费一区二区三区试看 | 天天色天天操综合| 日韩欧美国产一区二区三区 | 国产美女精品在线| 国产精品电影一区二区三区| 日韩美一区二区三区| 国产精品99久久久久久久女警 | 日本伊人色综合网| 久久女同互慰一区二区三区| fc2成人免费人成在线观看播放| 一区二区国产视频| 亚洲精品一区二区三区99| 97久久精品人人做人人爽| 五月天精品一区二区三区| 久久精品欧美日韩精品| 欧美三级在线视频| 国产精品一区二区三区乱码 | 麻豆成人久久精品二区三区小说| 国产欧美综合在线观看第十页 | 精品国产一区二区三区四区四| 风间由美一区二区三区在线观看| 亚洲国产精品欧美一二99| 欧美精品一区二区在线观看| 91小视频在线观看| 韩国精品久久久| 亚洲成人av一区二区三区| 欧美高清在线一区| 91精品国产色综合久久ai换脸| 国产精品888| 亚洲成人av一区二区三区| 欧美极品aⅴ影院| 欧美一区二区视频在线观看2022| 99国产精品一区| 国产精品原创巨作av| 性感美女久久精品| 亚洲人成网站色在线观看| 久久久久久97三级| 欧美一区二区三区人| 欧美性受极品xxxx喷水| 成年人网站91| 国产一区 二区| 蜜桃传媒麻豆第一区在线观看| 亚洲一区二区三区四区在线| 国产欧美一区二区精品仙草咪| 日韩一区二区在线免费观看| 欧美色精品在线视频| 色哟哟国产精品| gogo大胆日本视频一区| 粉嫩av一区二区三区在线播放| 看电视剧不卡顿的网站| 日韩高清在线不卡| 亚洲18色成人| 五月婷婷色综合| 亚洲成人激情av| 午夜天堂影视香蕉久久| 亚洲一区二区美女| 亚洲电影一级片| 亚洲国产你懂的| 午夜一区二区三区视频| 午夜久久久久久久久| 亚洲综合色网站| 一区二区三区四区中文字幕| 亚洲日本电影在线| 亚洲精品高清视频在线观看| 亚洲日穴在线视频| 亚洲激情中文1区| 亚洲一卡二卡三卡四卡五卡| 一区二区三区在线观看视频| 夜夜操天天操亚洲| 午夜在线成人av| 麻豆freexxxx性91精品| 国产专区欧美精品| 成人黄色在线网站| 日本韩国欧美三级| 欧美日韩夫妻久久| 精品国产精品网麻豆系列 | 国产成人精品免费网站| 国产91色综合久久免费分享| 国产精品996| 97精品电影院| 欧美丝袜第三区| 欧美电影免费观看完整版| 久久久国产精品不卡| 亚洲欧美日韩精品久久久久| 一区二区三区中文在线| 日韩成人午夜电影| 国产乱子伦一区二区三区国色天香| 国产一区二区三区久久久| 99久久久免费精品国产一区二区| 欧美中文字幕亚洲一区二区va在线 | www.欧美色图| 欧美体内she精视频| 精品成人免费观看| 亚洲美女精品一区| 久久综合综合久久综合| 99热国产精品| 91精品国产美女浴室洗澡无遮挡| 国产日韩亚洲欧美综合| 亚洲国产精品影院| 国产成人精品一区二区三区网站观看 | 91美女在线观看| 欧美一区二区精美| 国产精品国产馆在线真实露脸| 亚瑟在线精品视频| 成人av动漫网站| 欧美一级日韩一级| 日韩一区中文字幕| 国产综合久久久久久久久久久久| 91免费观看视频| 久久午夜电影网| 视频在线观看91| 91免费版在线| 欧美国产综合色视频| 日日嗨av一区二区三区四区| 91性感美女视频| 国产欧美日韩综合| 久久国产尿小便嘘嘘尿| 在线欧美一区二区| 中文字幕在线视频一区| 老司机免费视频一区二区三区| 色综合久久中文综合久久97| 久久久www免费人成精品| 天天操天天干天天综合网| 99r国产精品| 国产精品婷婷午夜在线观看| 久久精品国产澳门| 欧美日韩成人综合| 一区二区日韩电影| 91亚洲国产成人精品一区二区三 | 婷婷久久综合九色综合伊人色| www.激情成人| 国产精品视频yy9299一区| 经典三级在线一区| 日韩一级精品视频在线观看| 亚洲综合一区二区三区| 色综合色综合色综合| 中文字幕av一区二区三区| 国产精品一二二区| 久久亚洲影视婷婷| 国产一区二区三区在线观看免费| 欧美一区二区日韩| 蜜桃视频第一区免费观看| 欧美日韩国产123区| 亚洲一区二区三区在线看| 欧美无砖砖区免费| 一区二区三区欧美| 欧美午夜精品理论片a级按摩|