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

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? unsudemo.m

?? 四種支持向量機(jī)用于函數(shù)擬合與模式識(shí)別的Matlab示例程序
?? M
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
function []=unsudemo(action,hfigure,varargin)% UNSUDEMO demo on unsupervised (EM) learning algorithm.%% UNSUDEMO demonstrates the unsupervised (Expectation-Maximization) %   learning algorithm on simple examples in 2D space.%%   The aim is to estimate a statistical model described as the%   weighted mixture of Gaussians from unlabeled data %   (point set/patterns). The input data is supposed to be%   identicaly and independently seleted.%%   The found model is described by ellipsoids (shape of %   covariances) and a croses (mean value vectors). The value%   of the optimized log-likelihood function for given model %   is displayed as well.%% Control:%  Features     - select the model with Independent (diagonal covariance %                 matrix) or Dependent (full cov. matrix) features.%  % of classes - prescribe the number of classes (components of the %                 mixture of Gaussians).%               %  Iterations   - number of iterations in one step.%  Random init  - the initial model is randomly generated and/or it is %                 determined by the first n-patterns (mean values)%                 and sample covarinace matrix (covarinaces matrices).%%  FIG2EPS     - export screen to the PostScript file.%  Save model  - save current model to 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 UNSUNI, UNSUND.%% Statistical Pattern Recognition Toolbox, Vojtech Franc, Vaclav Hlavac% (c) Czech Technical University Prague, http://cmp.felk.cvut.cz% Written Vojtech Franc (diploma thesis) 10.11.1999% Modifications% 11-june-2001, V.Franc, comments added.% 27.02.00 V. Franc%  5. 4.00 V. Franc% 23.06.00 V. Hlavac Comments polished. Message when no data loaded.%                    Export of the solution to global variables.% 27-mar-2001, V.Franc, Graph og log-likelihood function added% Used functions: PPOINTS, PNMIX% == Global variables, used to export results from UNSUDEMO ========global UNSU_MI       % K vectors with mean valuesglobal UNSU_SIGMA    % K covariance matricesglobal UNSU_PK       % K apriori probabilities for each distributions.%global UNSU_eI      % Used only by the next iteration, not globalisedglobal UNSU_solution % 1 if alg. finished in stationary point, 0 otherwiseglobal UNSU_t        % Number of iterations the algorithm performed% == Constants =====================================================AXIST_ADD=10;AXISY_ADD=5;BORDER=0.25;           % space betwean window outer and the points
CENTERSIZE=10;         % size of center point
LINE_WIDTH=1;
AXIST_ADD=10;
DATA_IDENT='Finite sets, enumeration';   % file identifier
randinit=1;

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.2;   width=0.6;   bottom=0.1;   height=0.8;   hfigure=figure('Name','Unsupervised learning', ...      'Visible','off',...      'NumberTitle','off', ...      'Units','normalized', ...      'Position',[left bottom width height],...      'tag','Unsudemo',...      'doublebuffer','on',...      'backingstore','off');      % == Axes ===============================================================   left=0.1;   width=0.65;   bottom=0.45;   height=0.5;   haxes1=axes(...      'Units','normalized', ...      'NextPlot','add',...      'UserData',[],...      'Position',[left bottom width height]);   xlabel('feature x');   ylabel('feature y');   htitle1=title('No data loaded',...
      'VerticalAlignment','bottom',...
      'Parent',haxes1,...      'HorizontalAlignment','left',...
      'Units','normalized',...
      'Position',[0 1 0]);
   % axes log-Likelihood graph   left=0.1;   width=0.65;   bottom=0.1;   height=0.25;   haxes2=axes(...      'Units','normalized', ...      'NextPlot','add',...      'Position',[left bottom width height]);   ylabel('logL(t)');      htitle2=title('Log-likelihood function',...       'Parent',haxes2,...       'VerticalAlignment','bottom',...       'Units','normalized',...       'HorizontalAlignment','left',...       'Position',[0 1 0]);    htxsteps=xlabel('step number t=0');            % == Comment Window frame ==============================================
%%   bottom=0.05;
%%   height=0.16;
%%   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.044;
   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','unsudemo(''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','unsudemo(''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: begin adaptation
   bottom=bottom+height;
   hbtplay = uicontrol(...
    'Units','Normalized', ...
      'ListboxTop',0, ...
        'Position',[left bottom width height], ...
      'String','Play', ...
      'Callback','unsudemo(''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','unsudemo(''reset'',gcf)');

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

   % Load data
   bottom=bottom+1*height;
    hbtload = uicontrol(...
      'Units','Normalized', ...
      'ListboxTop',0, ...
        'Position',[left bottom width height], ...
      'String','Load data', ...
      'Callback','unsudemo(''getfile'',gcf)');
   % Save model   bottom=bottom+1.5*height;
    hbtSaveModel = uicontrol(...
      'Units','Normalized', ...
      'ListboxTop',0, ...
        'Position',[left bottom width height], ...
      'String','Save model', ...
      'Callback','unsudemo(''savemodel'',gcf)');
   % Load model%   bottom=bottom+1*height;
%    hbtLoadModel = uicontrol(...
%      'Units','Normalized', ...
%      'ListboxTop',0, ...
%        'Position',[left bottom width height], ...
%      'String','Load model', ...
%      'Callback','unsudemo(''loadmodel'',gcf)');

   % == PopUp Menu =====================================================
   bottom=0.95-height;
   htxfeatures=uicontrol( ...
      'Style','text', ...
      'Units','normalized', ...
      'Position',[left bottom width height], ...
      'String','Features');
   % popup menu
   bottom=bottom-height;
   hpufeatures=uicontrol( ...
      'Style','popup', ...
      'Units','normalized', ...
      'Position',[left bottom width height], ...
      'String',['Independent ';'Dependent   ']);

   % == Edit line ==========================================================
   % prior info about number of the classes
   bottom=bottom-1.3*height;
   htxclasses=uicontrol( ...
      'Style','text', ...
      'Units','normalized', ...
      'Position',[left bottom width 0.9*height], ...
      'String','# of classes');
   bottom=bottom-height;
   hedclasses = uicontrol(...
    'Units','normalized', ...
      'ListboxTop',0, ...
        'Position',[left bottom width height], ...
      'Style','edit',...
      'String','2');

   % Iterations
   bottom=bottom-1.3*height;
   htxiter=uicontrol( ...
      'Style','text', ...
      'Units','normalized', ...
      'Position',[left bottom width 0.9*height], ...
      'String','Iterations');
   bottom=bottom-height;
   hediter = uicontrol(...
    'Units','normalized', ...
      'ListboxTop',0, ...
        'Position',[left bottom width height], ...
      'Style','edit',...
      'String','1');

   % == CheckBox =========================================================

   % Should the first algorithm step be random or not ?
   bottom=bottom-height*1.3;
    hxbrandom = uicontrol(...
    'Style','checkbox', ...
       'Units','normalized', ...
    'ListboxTop',0, ...
       'Position',[left bottom width height], ...
    'String','Random init');
   %=====================================================================
   % Store handlers   handlers=struct(...      'ellipse',struct('handler',-1,'mi',[],'sigma',[],'t',0,'Pk',[],...        'solution',0),...      'center',[],...      'graph1',struct('handler',-1,'loglik',[],'axist',0,'time',[]),...      'title1',htitle1,...      'title2',htitle2,...      'btSaveModel',hbtSaveModel,...%      'btLoadModel',hbtLoadModel,...      'btstep',hbtstep,...      'btstop',hbtstop,...       'btclose',hbtclose,...      'btplay',hbtplay,...      'btreset',hbtreset,...      'btinfo',hbtinfo,...      'btload',hbtload,...      'btcreat',hbtcreat,... %%%      'console',hconsole,...      'txsteps',htxsteps,...      'txclasses',htxclasses,...      'txiter',htxiter,...      'txfeatures',htxfeatures,...      'pufeatures',hpufeatures,...      'editer',hediter,...      'xbrandom',hxbrandom,...      'axes1',haxes1,...      'axes2',haxes2,...      'edclasses',hedclasses);   set(hfigure,'UserData',handlers)   % Reset   unsudemo('reset',hfigure);   % Put figure on desktop   set(hfigure,'Visible','on');   drawnow; case 'savemodel'   % == Save model ============================================   h=get(hfigure,'UserData');      if h.ellipse.t == 0,     errordlg('No model has found yet.','No model to save','modal');     return;   end      [name,path]=uiputfile('*.mat','Save model');   if name ~= 0,          MI=h.ellipse.mi;        % mean values     SIGMA=h.ellipse.sigma;  % covariance matrices     Pk=h.ellipse.Pk;        % a-priory probabilities     solution=h.ellipse.solution;     steps=h.ellipse.t;      % number of performed steps          I=[1:size(MI,2)];     N=size(MI,1);     id=dataid(2);     K=ones(1,size(MI,2));          save(strcat(path,name),'id','K','N','I',...         'steps','solution','Pk','SIGMA','MI');        end       case 'loadmodel'   % == Load model ============================================   h=get(hfigure,'UserData');

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色婷婷综合中文久久一本| 国产精品第五页| 91精品国产一区二区三区| 欧美日韩国产综合视频在线观看 | 51精品久久久久久久蜜臀| 欧美无砖专区一中文字| 欧美日韩国产中文| 在线电影国产精品| 欧美一卡二卡在线| 精品福利一区二区三区免费视频| 欧美变态tickling挠脚心| 精品久久久久久久人人人人传媒 | 一本大道久久精品懂色aⅴ| 91麻豆国产香蕉久久精品| 91久久线看在观草草青青| 欧美性受xxxx黑人xyx| 91国产免费观看| 欧美精品乱人伦久久久久久| 日韩视频免费观看高清完整版在线观看| 91精品久久久久久久久99蜜臂| 欧美大片拔萝卜| 欧美极品xxx| 亚洲激情五月婷婷| 日本成人中文字幕在线视频 | 欧美片在线播放| 欧美白人最猛性xxxxx69交| 久久久久久久久伊人| 中文字幕色av一区二区三区| 亚洲一区中文日韩| 六月丁香婷婷久久| 不卡视频一二三四| 欧美精品在线一区二区三区| 精品日韩99亚洲| 1024亚洲合集| 蜜桃一区二区三区在线| 成人av综合在线| 欧美一区日韩一区| 中文一区二区在线观看| 亚洲精品国产一区二区精华液| 全部av―极品视觉盛宴亚洲| 国产成人啪免费观看软件| 在线观看成人免费视频| 精品国产露脸精彩对白| 一区免费观看视频| 日韩电影一二三区| 成人精品国产免费网站| 欧美精品一二三四| 国产精品久久久久久亚洲伦| 婷婷丁香久久五月婷婷| 国产寡妇亲子伦一区二区| 欧美午夜精品久久久久久超碰| 日韩精品专区在线| 亚洲激情综合网| 欧美日韩卡一卡二| 国产性做久久久久久| 亚洲高清不卡在线| 国产成a人亚洲精品| 9191国产精品| 亚洲色图20p| 国内精品在线播放| 欧美色涩在线第一页| 国产精品无人区| 麻豆精品精品国产自在97香蕉| 色综合久久久久网| 国产片一区二区| 日本系列欧美系列| 欧美做爰猛烈大尺度电影无法无天| 国产亚洲欧美激情| 丝袜诱惑亚洲看片| 色婷婷综合久久久久中文一区二区| 欧美α欧美αv大片| 午夜久久久久久久久久一区二区| 丰满少妇在线播放bd日韩电影| 6080日韩午夜伦伦午夜伦| 中文字幕亚洲一区二区va在线| 国产一区亚洲一区| 欧美一级黄色录像| 天天做天天摸天天爽国产一区| a亚洲天堂av| 国产亚洲欧美一区在线观看| 蜜桃视频在线观看一区| 欧美精品色综合| 亚洲国产精品自拍| 欧美在线观看一区二区| 亚洲精品你懂的| 波多野结衣欧美| 国产三级一区二区| 国内不卡的二区三区中文字幕| 日韩一区二区免费电影| 图片区小说区国产精品视频| 欧美综合色免费| 亚洲午夜久久久久| 欧美这里有精品| 亚洲国产精品一区二区久久恐怖片| 日本久久电影网| 亚洲三级在线观看| 色婷婷一区二区| 一区二区三区不卡视频在线观看 | 欧美老肥妇做.爰bbww视频| 亚洲一区二区在线观看视频 | 精品久久一区二区| 另类小说一区二区三区| 日韩精品一区二区三区在线播放| 蜜桃av噜噜一区| 精品久久国产字幕高潮| 精东粉嫩av免费一区二区三区| 精品免费国产一区二区三区四区| 狠狠色狠狠色综合系列| 2024国产精品| 国产99精品视频| 国产精品久久三| 日本精品一区二区三区高清| 亚洲综合无码一区二区| 欧美日本一区二区| 蜜桃视频第一区免费观看| 精品国产乱码久久久久久免费 | 成人白浆超碰人人人人| 亚洲天堂精品视频| 欧美亚洲综合在线| 日韩**一区毛片| 久久先锋影音av| 91在线精品秘密一区二区| 亚洲另类色综合网站| 欧美老年两性高潮| 国产综合久久久久影院| 中文字幕五月欧美| 欧美群妇大交群的观看方式| 久久99精品久久久久婷婷| 国产欧美日韩麻豆91| 91免费在线看| 男女男精品网站| 欧美激情一二三区| 欧美私模裸体表演在线观看| 理论电影国产精品| 国产精品国产成人国产三级| 欧美熟乱第一页| 精品影院一区二区久久久| 国产精品麻豆99久久久久久| 欧洲国内综合视频| 韩国av一区二区三区四区| 亚洲视频香蕉人妖| 日韩免费观看高清完整版 | 91精品国产日韩91久久久久久| 久久av资源网| 亚洲欧美aⅴ...| 精品久久久久久久久久久久久久久| 成人爱爱电影网址| 奇米色一区二区三区四区| 国产精品视频第一区| 欧美精品第1页| 成人一级片网址| 日韩av中文字幕一区二区三区 | 成人小视频免费在线观看| 亚洲图片欧美视频| 日本一区二区三级电影在线观看 | 欧美三级电影在线观看| 国产精品69毛片高清亚洲| 午夜欧美大尺度福利影院在线看| 久久亚洲免费视频| 欧美性色欧美a在线播放| 国产精一区二区三区| 天天色 色综合| 亚洲天堂av一区| 久久综合九色综合97婷婷女人| 欧洲一区在线观看| 成人爱爱电影网址| 激情文学综合丁香| 日韩精品亚洲专区| 亚洲精品午夜久久久| 日本一区二区视频在线| 69久久夜色精品国产69蝌蚪网| fc2成人免费人成在线观看播放| 免费在线观看视频一区| 亚洲高清中文字幕| 亚洲日本在线a| 国产片一区二区| 精品国产三级电影在线观看| 欧美丝袜丝交足nylons| 94-欧美-setu| 成人性生交大片| 国产精品夜夜嗨| 久久99热99| 天天影视网天天综合色在线播放| 最近日韩中文字幕| 欧美高清在线精品一区| 欧美tk—视频vk| 日韩一二在线观看| 91精品黄色片免费大全| 欧美卡1卡2卡| 欧美日韩成人综合天天影院| 在线视频一区二区免费| 91尤物视频在线观看| 成人动漫一区二区| 成人免费毛片app| 成人综合婷婷国产精品久久| 国产精品伊人色| 国产成人精品三级麻豆| 国产精品小仙女| 国产91清纯白嫩初高中在线观看| 国产一区高清在线|