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

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

?? lindemo.m

?? 四種支持向量機用于函數擬合與模式識別的Matlab示例程序
?? M
?? 第 1 頁 / 共 2 頁
字號:
function result = lindemo(action,hfigure,varargin)% LINDEMO demo on the linear learning algorithms.%% LINDEMO demonstrates use of the algorithms which find %  linear decision hyperplane between two (dichotomy)%  point sets. Input data must be 2-dimensional and%  can be interactively created by the user.%%  The program vizualizes found hyperplane in the current %  algorithm step. Badly clasiffied point, which will be used %  by the algorithm for updating of the solution, is also%  vizualized. Text description of the state of the tested %  algorithm is printed in the comment window.%%  Following algorithms can be tested:%%  Perceptron  - Perceptron learning rule.%  Kozinec     - Kozinec's algorithm.%  e-Kozinec   - Modified Kozinec's algorithm finding e-optimal solution.%  LinearSVM   - linear version of the Supprot Vector Machines.%% Control:%  Algorithm  - select algorithm for testing.%  Epsilon    - input parameter for the EKOZINEC algorithm %               (see help ekozinec).%  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 - invoke program for creating point sets.%  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        - invoke the info box.%  Close       - close the program.%%% See also PERCEPTR, KOZINEC, EKOZINEC, LINSVM.%% Statistical Pattern Recognition Toolbox, Vojtech Franc, Vaclav Hlavac% (c) Czech Technical University Prague, http://cmp.felk.cvut.cz% Written Vojtech Franc (diploma thesis) 26.02.2000, 15.5.2000% Modifications% 24. 6.00 V. Hlavac, comments polished.% 11-dec-2000 V. Franc, a little increasing of code readibility% 15-dec-2000LINE_WIDTH=1;        % width of separation lineANIM_STEPS=10;       % number of steps during the line animationBORDER=0.2;          % minimal space between axis and pointsDATA_IDENT='Finite sets, Enumeration';  % file identifierALGOS=['Perceptron';'Kozinec   ';'e-Kozinec ';  'LinearSVM '];%       ;'p-sum     ';'p-sumv    ';'Navara    ';'Nav-homog ';...%       'linprog   ']; % list of algos% 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 =======   % == Figure =============================================   left=0.1;   width=0.8;   bottom=0.1;   height=0.8;
   hfigure=figure('Name','Linear discriminant function', ...      'Visible','off',...
    'NumberTitle','off', ...
      'Units','normalized', ...
      'Position',[left bottom width height],...
      'Units','normalized', ...
      'tag','Lindemo',...
      'RendererMode','manual');

   % == Axes =========================================   left=0.1;
   width=0.65;
   bottom=0.35;
   height=0.60;
   haxes1=axes(...
       'Units','normalized', ...
      'Box','on', ...
      'DrawMode','fast',...
      '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','lindemo(''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', ...
      'Callback','lindemo(''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','lindemo(''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','lindemo(''reset'',gcf)');

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

   % Load data
   bottom=bottom+1*height;
    hbtload = uicontrol(...
      'Units','Normalized', ...
      'ListboxTop',0, ...
        'Position',[left bottom width height], ...
      'String','Load data', ...
      'Callback','lindemo(''getfile'',gcf)');

   % == 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 height], ...
      'String','Algorithm');
   % popup menu
   bottom=bottom-height;
   hpualgo=uicontrol( ...
      'Style','popup', ...
      'Units','normalized', ...
      'CallBack','lindemo(''epshandler'',gcf)',...
      'Position',[left bottom width height], ...
      'String',ALGOS);

   % == Edit line ========================================   % epsilon
   bottom=bottom-1.2*height;
   htxeps=uicontrol( ...
      'Style','text', ...
      'Units','normalized', ...
      'Position',[left bottom width 0.9*height], ...
      'Enable','off',...
      'String','epsilon');
   bottom=bottom-height;
   hedeps = uicontrol(...
    'Units','normalized', ...
      'ListboxTop',0, ...
        'Position',[left bottom width height], ...
      'Style','edit',...
      'Enable','off',...
      'CallBack','lindemo(''epshandler'',gcf)',...
      'String','1e-3');

   % # of iterations
   bottom=bottom-1.1*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',...
      'CallBack','lindemo(''iterhandler'',gcf)',...
      'String','1');

   % == Check boxes ==============================================   % Make check box to determine if a line will be drawn in one    % step or smooth plot.
   bottom=bottom-height*1.2;
    hxbanim = uicontrol(...
    'Style','checkbox', ...
    'Units','normalized', ...
    'ListboxTop',0, ...
    'Position',[left bottom width height], ...
    'String','Animation');

    % ============================================================   % Store handlers
   handlers=struct(...
      'line',struct('handler',-1,'alpha',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,...      'editer',hediter,...      'edeps',hedeps,...      'txeps',htxeps,...      'axes1',haxes1,...      'xbanim',hxbanim);   set(hfigure,'UserData',handlers)   % Reset   lindemo('reset',hfigure);   % Put figure on desktop   set(hfigure,'Visible','on');   drawnow;case 'iterhandler'
   % == Handler for edit line Iterations ===============   h=get(hfigure,'UserData');   iter=round(str2num(get(h.editer,'String')));
   if isempty(iter) | iter < 1, iter=1; end
   set(h.editer,'String',num2str(iter));


case 'epshandler'
   % == Handler for edit line Epsilon =======================   h=get(hfigure,'UserData');   % if algorithm e-Kozinec is selected then ...   if get(h.pualgo,'Value')==3,      set(h.edeps,'Enable','on');
      set(h.txeps,'Enable','on');

      epsil=str2num(get(h.edeps,'String'));
      if epsil < 0,
         epsil=1;
         set(h.edeps,'String',num2str(epsil));
      end
   else
      set(h.edeps,'Enable','off');
      set(h.txeps,'Enable','off');
   end


case 'creatdata'
   % == Invoke data set creator ================================   creatset('finite',2,'lindemo','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);
      lindemo('loadsets',hfigure);
      lindemo('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 appropriate data,    % if yes loads data.
   h=get(hfigure,'UserData');   [name,path]=uigetfile('*.mat','Open file');
   if name~=0,
      file.pathname=strcat(path,name);
      file.path=path;
      file.name=name;
      if checkdat(file.pathname,DATA_IDENT,2,[0 0])==1,
         set(h.btload,'UserData',file);
         lindemo('loadsets',hfigure);
         lindemo('reset',hfigure);
      else

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩无一区二区| 亚洲欧美激情一区二区| 欧美国产综合一区二区| 亚洲永久免费av| 高清shemale亚洲人妖| 日韩欧美不卡在线观看视频| 一区二区三区加勒比av| 国产精品一区专区| 日韩一区和二区| 樱花影视一区二区| av中文字幕不卡| 久久久亚洲午夜电影| 天天av天天翘天天综合网| 91在线国产福利| 国产亲近乱来精品视频| 免费三级欧美电影| 欧美日韩国产影片| 亚洲一区二区三区四区中文字幕| 高清成人在线观看| 亚洲成人7777| 在线观看av不卡| 亚洲制服丝袜在线| 99re6这里只有精品视频在线观看 99re8在线精品视频免费播放 | 舔着乳尖日韩一区| 91福利在线看| 亚洲免费在线观看| 日本精品视频一区二区| 成人欧美一区二区三区| 成人毛片老司机大片| 国产片一区二区| 粉嫩欧美一区二区三区高清影视| 国产欧美视频一区二区| 成人国产精品视频| 国产精品久久99| 色视频成人在线观看免| 亚洲黄色性网站| 在线视频欧美区| 亚洲成人av一区二区| 欧美性受xxxx| 日韩一区欧美二区| 精品国产亚洲在线| 成人aa视频在线观看| 成人免费在线播放视频| 色哟哟在线观看一区二区三区| 中文字幕精品综合| 97久久精品人人澡人人爽| 亚洲综合一区二区| 正在播放亚洲一区| 国产一区二区看久久| 久久久99免费| 99国产精品久久| 日韩精品亚洲专区| 国产日韩欧美电影| 欧美中文字幕一区二区三区亚洲| 日韩国产成人精品| 久久综合给合久久狠狠狠97色69| 成人午夜电影网站| 亚洲一区影音先锋| 精品播放一区二区| av资源网一区| 日本视频免费一区| 国产精品短视频| 欧美日韩午夜精品| 国产成人免费在线| 亚洲综合色噜噜狠狠| 26uuu亚洲| 日本韩国欧美国产| 国产在线视视频有精品| 亚洲另类一区二区| 精品国产亚洲在线| 精品视频在线免费| 成人97人人超碰人人99| 日韩成人免费看| 中文字幕一区二区三区视频| 在线电影欧美成精品| 国产91精品入口| 日本中文字幕一区二区视频| 中文无字幕一区二区三区| 欧美丝袜自拍制服另类| 国产自产视频一区二区三区| 亚洲欧美电影一区二区| xnxx国产精品| 欧美日韩一区二区三区不卡| 国产成人99久久亚洲综合精品| 亚洲另类在线视频| 国产精品乱人伦中文| 日韩一级片网址| 欧美在线综合视频| 成人app在线观看| 激情综合网av| 视频精品一区二区| 一个色综合av| 国产精品嫩草影院av蜜臀| 日韩欧美国产高清| 欧美精品免费视频| 91美女视频网站| 成人免费电影视频| 国产99久久久国产精品潘金 | 337p亚洲精品色噜噜噜| 91亚洲午夜精品久久久久久| 国产91色综合久久免费分享| 国精品**一区二区三区在线蜜桃| 天天操天天色综合| 日韩成人午夜精品| 日韩中文字幕一区二区三区| 亚洲免费观看高清完整| 亚洲欧美色一区| 国产精品免费视频观看| 国产视频911| 久久久精品黄色| 国产亚洲欧美日韩在线一区| 2014亚洲片线观看视频免费| 欧美精品久久天天躁| 欧美精品在线观看一区二区| 88在线观看91蜜桃国自产| 欧美日韩一区二区在线观看 | 91碰在线视频| 91福利社在线观看| 欧美在线观看视频在线| 亚洲欧美自拍偷拍色图| 亚洲精品视频在线观看免费| 中文字幕亚洲欧美在线不卡| 亚洲青青青在线视频| 亚洲毛片av在线| 亚洲综合一二区| 日本视频免费一区| 精品一区二区精品| 成人性生交大片免费看视频在线| 国产suv一区二区三区88区| 99精品黄色片免费大全| 欧美专区亚洲专区| 日韩欧美中文一区| 国产亚洲精品久| 综合久久给合久久狠狠狠97色 | 午夜一区二区三区视频| 麻豆视频一区二区| 国产精品538一区二区在线| k8久久久一区二区三区| 91福利社在线观看| 欧美大片日本大片免费观看| 久久久久久久网| 亚洲精品国产精品乱码不99 | 一区二区三区在线免费| 日本一区中文字幕| 国产精品1区2区3区| 日本久久电影网| 日韩午夜激情免费电影| 中文字幕欧美日韩一区| 亚洲综合一区在线| 国产乱人伦精品一区二区在线观看| 成人av影院在线| 欧美一区二区三区免费在线看| 国产欧美精品一区aⅴ影院 | 国产乱码精品一区二区三区忘忧草| 波多野结衣中文一区| 欧美日韩免费视频| 欧美国产禁国产网站cc| 亚洲国产中文字幕| 成人一级片网址| 日韩一区二区免费视频| 成人免费一区二区三区视频| 久久精品av麻豆的观看方式| 日本电影欧美片| 国产日韩欧美综合在线| 日韩高清不卡一区二区三区| www.欧美色图| 亚洲精品一区二区三区99| 亚洲一区精品在线| 成人精品在线视频观看| 精品理论电影在线观看 | 91麻豆精品91久久久久久清纯| 中文字幕乱码日本亚洲一区二区| 日韩电影免费在线观看网站| av欧美精品.com| 久久伊人蜜桃av一区二区| 日韩制服丝袜先锋影音| 91蜜桃视频在线| 国产精品久久毛片av大全日韩| 麻豆精品国产传媒mv男同| 精品视频在线看| 亚洲精品国产无天堂网2021| 成人久久久精品乱码一区二区三区 | 亚洲精品一区二区三区四区高清| 午夜欧美2019年伦理| 在线欧美小视频| 亚洲日本欧美天堂| 91在线视频播放地址| 亚洲欧美综合网| 99精品久久免费看蜜臀剧情介绍| 国产日产欧美精品一区二区三区| 激情综合色播五月| 欧美成人国产一区二区| 日本特黄久久久高潮| 欧美一区二区免费| 奇米在线7777在线精品| 日韩一级在线观看| 精品无人码麻豆乱码1区2区| 日韩视频免费直播| 久久国产麻豆精品| 2017欧美狠狠色|