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

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

?? som_show.m

?? it is matlab code , som(slef organizing map) tool for matlab
?? M
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
function h=som_show(sMap, varargin)% SOM_SHOW Basic SOM visualizations: component planes, u-matrix etc.%% h = som_show(sMap, ['argID', value, ...])% %  som_show(sMap);%  som_show(sMap,'bar','none');%  som_show(sMap,'comp',[1:3],'umat','all');%  som_show(sMap,'comp',[1 2],'umat',{[1 2],'1,2 only'},'comp',[3:6]);   %  som_show(sMap,'size',m,'bar','vert','edge','off');%% Input and output arguments ([]'s are optional):%  sMap        (struct) map struct%  [argID,     (string) Additional parameters are given as argID, value%    value]    (varies) pairs. See below for list of valid IDs and values.%%  h           (struct) struct with the following fields:%   .plane     (vector) handles to the axes objecets (subplots)%   .colorbar  (vector) handles to the colorbars. Colorbars for empty%                       grids & RGB color planes do not exist: the%                       value for them in the vector is -1.%   .label     (vector) handles to the axis labels%% Here are the valid argument IDs and corresponding values. M is% the number of map units%  'comp'               Which component planes to draw, title is%                       the name of the component (from sMap.comp_names) %              (vector) a vector of component indices%              (string) 'all' (or '' or []) for all components%  'compi'              as 'comp' but uses interpolated shading%  'umat'               Show u-matrix calculated using specified %                       components %              (vector) a vector of component indeces%              (string) 'all' (or '' or []) to use all components%              (cell)   of form {v, str} uses v as the vector, and put%                       str as title instead of the default 'U-matrix'%  'umati'              as 'umat' but uses interpolated shading of colors %  'empty'     (string) Make an empty plane using given string as title%  'color'              Set arbitrary unit colors explicitly  %              (matrix) size Mx1 or Mx3, Mx1 matrix uses indexed%                       coloring;  Mx3 matrix (RGB triples as rows)%                       defines fixed unit colors%              (cell)   of from {color, str}. 'color' is the Mx1%                       or Mx3 RGB triple matrix and 'str' is title %                       string%  'colori'             as 'color' but uses interpolated shading of colors %  'norm'      (string) 'n' or 'd': Whether to show normalized 'n' or %                       denormalized 'd' data values on the%                       colorbar. By default denormalized values are used.%  'bar'       (string) Colorbar direction: 'horiz', 'vert' (default)%                       or 'none'%  'size'               size of the units%              (scalar) same size for each unit, default is 1%              (vector) size Mx1, individual size for each unit%  'edge'      (string) Unit edges on component planes 'on'%                       (default) or 'off'%  'footnote'  (string) Footnote string, sMap.name by default%  'colormap'  (matrix) user defined colormap %  'subplots'  (vector) size 1 x 2, the number of subplots in y- and%                       and x-directions (as in SUBPLOT command)%% If identifiers 'comp', 'compi', 'umat', 'umati', 'color', 'colori'% or 'empty' are not specified at all, e.g. som_show(sMap) or% som_show(sMap,'bar','none'), the U-matrix and all component planes% are shown.%% For more help, try 'type som_show' or check out online documentation. % See also SOM_SHOW_ADD, SOM_SHOW_CLEAR, SOM_UMAT, SOM_CPLANE, SOM_GRID.%%%%%%%%%%%% DETAILED DESCRIPTION %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% som_show%% PURPOSE %% Shows basic visualizations of SOM: component planes, unified distance% matrices as well as empty planes and fixed color planes.%% SYNTAX%%  h = som_show(sMap)%  h = som_show(sMap, 'argID', value, ...)%% DESCRIPTION %% This function is used for basic visualization of the SOM. Four% kinds of SOM planes can be shown: %%  1. U-matrix (see SOM_UMAT) which shows clustering structure of%     the SOM. Either all or just part of the components can %     be used in calculating the U-matrix.%  2. component planes: each component plane shows the values of%     one variable in each map unit%  3. an empty plane which may be used as a base for, e.g., hit %     histogram visualization or labeling (see SOM_SHOW_ADD)%  4. a fixed or indexed color representation for showing color coding or %     clustering%% The component planes and u-matrices may have colorbars showing the% scale for the variable. The scale shows by default the values that% variables have in the map struct. It may be changed to show the% original data values (estimated by SOM_DENORMALIZE). In this case a% small 'd' appears below the colorbar. The orientation of these% colorbars may be changed, or they can be removed.%% By default the u-matrix - calculated using all variables - and all% component planes are shown. This is achieved by giving command% som_show(sMap) without any further arguments%% REQUIRED INPUT ARGUMENTS%% sMap  (struct) Map to be shown. If only this argument is%                specified, the function draws first the u-matrix %                calculated using all the variables followed by all%                the component planes.%% OPTIONAL INPUT ARGUMENTS% % (M is the number of map units)%% Optional arguments must be given as 'argID',value -pairs% % 'comp'      Defines the variabels to be shown as component planes.%    (vector) 1xN or Nx1 vector with integer positive numbers ranging %             from 1 to the number of variables in the map codebook%             (dim). This vector determines the variables to be show%             as component planes and their order. Note that the same%             component plane (the same variable index) is allowed to%             occur several times.%    (string) 'all' or '' or []. This uses all variables, that is, it's%             the same that using value [1:dim] where dim is the%             number of variables in the codebook.%       % 'compi'     Same as 'comp' but uses a Gouraud shaded color plane %             (made using SOM_GRID function) instead of the cell-like%             visualization of 'comp' (made using SOM_CPLANE). Note%             that the color interpolation doesn't work strictly%             correctly on 'hexa' grid, as it uses rectangular grid%             (see SURF).% % 'umat'      Show U-matrix: value defines the variables to be used%             for calculating a u-matrix.%    (vector) as in 'comps'. However, multiple occurences of the%             same variable (same variable index) are ignored. %    (string) 'all' or '' or []. This uses all variables, that is, %             is the same as using value [1:dim] where dim is the%             number of variables in the codebook. %    (cell)   of form {v, str} where v is a valid index vector for 'umat' %             (see above) and str is a string that is used as a title %             for the u-matrix instead of the default title%             'U-matrix'. This may be useful if several u-matrices%             are shown in the same figure. % % 'umati'     Same as 'umat' but uses shaded color plane (see 'compi').%% 'empty'     Show an empty plane (patch edges only)%    (string) value is used as title% % 'color'     Define fixed RGB colors for the map units%    (matrix) a Mx3 matrix of RGB triples as rows             %    (vector) a Mx1 vector of any values: sets indexed coloring using%             the current colormap (as SURF does)  %    (matrix) a Mx3xN matrix of RGB triples as rows. This gives N%             color planes.%    (matrix) a Mx1xN matrix of any values: sets indexed coloring using%             the current colormap (as SURF does). This gives N%             color planes.%    (cell)   of form {rgb, str} where rgb is a Mx3 (xN) matrix of RGB%             triples as rows and str is a string that is used as%             title(s).  %    (cell)   of form {v, str} where v is a Mx1(xN) matrix of values%             and str is a string that is used as title(s). %% 'colori'    Same as 'color' but uses shaded color plane (see 'compi').%% 'norm'      Defines whether to use normalized or denormalized%             values in the colorbar. If denormalized values are%             used, they are acquired from SOM_DENORMALIZE function %             using sMap.comp_norm field.%    (string) 'd' (default) for denormalized values and 'n' for%             normalized values. The corresponding letter appears%             below the colorbar.%   % 'bar'       Define the direction of the colorbars for component planes %             and U-matrices or turn them completely off.%    (string) 'vert' (default), 'horiz' or 'none'. 'vert' gives%             vertical and 'horiz' horizontal colorbars. 'none'%             shows no colorbars at all. %% 'size'      Define sizes of the units. %    (scalar) all units have the same size (1 by default)%    (vector) size Mx1, each unit gets individual size scaling %             (as in SOM_CPLANE)%% 'edge'      Unit edges on component plane visualizations.%    (string) 'on' or 'off' determines whether the unit edges on component %             planes ('comp') are shown or not. Default is 'off'. Note that%             U-matrix and color planes are _always_ drawn without edges.%% 'footnote'  Text on the figure%    (string) is printed as a movable text object on the figure%             where it may be moved using mouse. Default value is the%             string in the sMap.name field. Note: value [] gives the%             string, but input value '' gives no footnote a all. %             See VIS_FOOTNOTE for more information on the text object %             and ways to change its font size.% % 'colormap'  som_show ghages the colormap by default to a gray-level map%    (matrix) This argument is used to set some other colormap. %% 'subplots'  the number of subplots in y- and x-directions, as in %    (vector) command SUBPLOT% % OUTPUT ARGUMENTS%% h (struct)%    .plane         (vector) handles to the axes objects (subplots)%    .colorbar      (vector) handles to the colorbars. Colorbars of empty%                            & color planes do not exist: the corresponding%                            value in the vector is -1%    .label         (vector) handles to the axis labels%% OBJECT TAGS%% The property field 'Tag' of the axis objects created by this function % are set to contain string 'Cplane' if the axis contains component plane% ('comp'), color plane ('color') or empty plane ('empty') and string% 'Uplane' if it contains a u-matrix ('umat'). The tag is set to % 'CplaneI' for planes created using 'compi' and 'colori', and % 'UplaneI' for 'umati'.%% FEATURES%% Note that when interpolated shading is used in coloring ('compi' and% 'colori') the standard built-in bilinear Gouraud interpolation for a % SURF object is used. If the lattice is hexagonal - or anything else than % rectangular in general - the result is not strictly what is looked % for, especially if the map is small. %% EXAMPLES%%% Make random data, normalize it, and give component names%% Make a map%%   data=som_data_struct(rand(1000,3),'comp_names',{'One','Two','Three'});%   data=som_normalize(data,'var');%   map=som_make(data);%%% Do the basic visualization with som_show: u-matrix and all%% component planes%%   som_show(map);   %%% The values shown in the colorbar are denormalized codebook values %% (if denormalization is possible). To view the actual values, use%% the ..., 'norm', 'n' argument pair.%%   som_show(map,'norm','n')%%% Something more complex:%% Show 1-2. Component planes 1 and 2 (variables 'One' and 'Two')%%        3. U-matrix that is calculated only using variables%%           'One' and 'Two' %%           with title '1,2 only'%%        4. U-matrix that is calculated using all variables with the %%           deafult title 'U-matrix'%%        5. The color code (in c) with title 'Color code'%%        6. Component plane 3 (variable 'Three')%% and  use vertical colorbars and and the values      %% But first: make a continuous color code (see som_colorcode)%% c=som_colorcode(map,'rgb1');% % som_show(map,'comp',[1 2],'umat',{1:2,'1,2 only'},'umat','all', ...%  'color',{c,'Color code'},'bar','vert','norm','n','comp',3)%%  SEE ALSO%% som_show_add   Show hits, labels and trajectories on SOM_SHOW visualization.% som_show_clear Clear hit marks, labels or trajectories from current figure. % som_umat       Compute unified distance matrix of self-organizing map.% som_grid       Visualization of a SOM grid.% som_cplane     Visualization of component, u-matrix and color planes.% Copyright (c) 1997-2000 by the SOM toolbox programming team.% http://www.cis.hut.fi/projects/somtoolbox/             % Version 1.0beta johan 100298 % Version 2.0beta johan 201099 juuso 181199 johan 011299-100200%                 juuso 130300 190600%% Check arguments %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%error(nargchk(1,Inf,nargin))     % check no. of input argsif isstruct(sMap),               % check map  [tmp,ok,tmp]=som_set(sMap);  if all(ok) & strcmp(sMap.type,'som_map')     ;  else    error('Map struct is invalid!');  endelse  error('Requires a map struct!')endmunits=size(sMap.codebook,1); % numb. of map unitsd=size(sMap.codebook,2);      % numb. of componentsmsize=sMap.topol.msize;       % size of the maplattice=sMap.topol.lattice;   % latticeif length(msize)>2   error('This visualizes only 2D maps!')endif rem(length(varargin),2)  error('Mismatch in identifier-value  pairs.');end%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  read in optional arguments if isempty(varargin),  varargin = { 'umat','all','comp','all'};end%% check the varargin and build visualization infostrcuts% Vis:       what kind of planes, in which order, what are the values in%            the units% Vis_param: general properties% see subfunction% The try-catch construction is here just for avoiding the% possible termination to happen in subfunction because an error% message containing subfunction line numbers etc. might be confusing, as% there probably is nothing wrong with the subfunction but with the % input. Ok, this isn't proper programming sytle... try         [Plane, General]= check_varargin(varargin, munits, d, sMap.name);catch  error(lasterr);end% Set default values for missing ones% No planes at all (only general properties given in varargin):% set default visualizationif isempty(Plane)  varargin = [varargin, { 'umat','all','comp','all'}];  % and again we go...  try    [Plane, General]= check_varargin(varargin, munits, d, sMap.name);  catch    error(lasterr);  endend% set defaults for general propertiesif isempty(General.colorbardir)  General.colorbardir='vert';endif isempty(General.scale)  General.scale='denormalized';endif isempty(General.size)  General.size=1;endif isempty(General.edgecolor)  General.edgecolor='none';end%% Action %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% get rid of an annoying warning: "RGB color data not yet supported in% Painter's mode."%set(gcf, 'renderer','zbuffer'); %% -> a much more annoying thing results: the output to PostScript is %%    as bitmap, making the files over 6MB in size... n=length(Plane);                     % the number of subfigures% get the unique component indicesc=General.comp(General.comp>0);c=setdiff(unique(c),[0 -1]); c=c(~isnan(c));                   % estimate the suitable dimension forif isempty(General.subplots),   y=ceil(sqrt(n));                   % subplots  x=ceil(n/y);else  y = General.subplots(2);   x = General.subplots(1);   if y*x<n,     error(['Given subplots grid size is too small: should be >=' num2str(n)]);   end    endclf;                               % clear figurefor i=1:n,                         % main loop

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品污污网站免费看| 亚洲欧洲av色图| 欧美一区日本一区韩国一区| 欧美综合一区二区三区| 91亚洲精品久久久蜜桃| 91浏览器打开| 色婷婷亚洲精品| 欧美性欧美巨大黑白大战| 欧美日韩一区三区| 欧美片网站yy| 欧美α欧美αv大片| 久久美女艺术照精彩视频福利播放| 精品国产乱码久久久久久老虎| 日韩女优视频免费观看| 久久久久国产精品麻豆ai换脸| 久久久99免费| 亚洲欧洲成人自拍| 一区二区三区日韩欧美| 偷窥少妇高潮呻吟av久久免费| 日本三级亚洲精品| 精品一区二区三区在线播放| 国产伦精品一区二区三区免费迷 | 捆绑紧缚一区二区三区视频| 蜜臀av亚洲一区中文字幕| 久久国产生活片100| 久久99国产精品麻豆| 国产黄色成人av| 91在线码无精品| 欧美色图在线观看| 精品成人一区二区| 国产精品理伦片| 亚洲国产aⅴ天堂久久| 卡一卡二国产精品| 国产成人福利片| 欧美视频一区在线观看| 日韩亚洲欧美中文三级| 国产精品三级视频| 亚洲大片免费看| 韩国v欧美v亚洲v日本v| 97精品视频在线观看自产线路二| 欧美日韩成人一区二区| 久久精品在这里| 一区二区不卡在线播放| 精品一二三四在线| 99久久精品情趣| 日韩视频免费观看高清完整版| 国产日韩v精品一区二区| 亚洲综合自拍偷拍| 激情欧美一区二区| 在线一区二区三区四区五区| 欧美成人国产一区二区| 亚洲欧美另类小说| 久久精品国产亚洲aⅴ | 国产日韩欧美精品在线| 亚洲人成伊人成综合网小说| 美女一区二区三区| 中文字幕一区二区三| 亚洲第一福利一区| 成人黄色777网| 日韩一区二区三区在线| 伊人色综合久久天天| 国产一区二区三区黄视频 | 久久九九久精品国产免费直播| 亚洲午夜精品17c| 丁香啪啪综合成人亚洲小说| 欧美伊人精品成人久久综合97| 国产日韩欧美电影| 久久精品免费观看| 欧美日韩视频在线第一区| 欧美激情中文字幕一区二区| 日本成人在线一区| 欧美在线不卡一区| 国产精品看片你懂得| 国产一区二区在线电影| 欧美一区二区三区喷汁尤物| 亚洲制服丝袜av| 99国产精品视频免费观看| 久久久久久免费网| 久久99精品久久久久久动态图| 欧美色视频在线观看| 亚洲色图.com| 不卡大黄网站免费看| 欧美精品一区二区久久婷婷| 日韩国产欧美在线观看| 欧美午夜电影在线播放| 亚洲视频图片小说| 成人av影视在线观看| 国产欧美日韩不卡免费| 国产真实乱子伦精品视频| 日韩欧美国产麻豆| 蓝色福利精品导航| 日韩免费看网站| 日韩黄色一级片| 在线成人av网站| 婷婷综合另类小说色区| 欧美日韩精品欧美日韩精品一| 亚洲精品免费在线观看| av成人老司机| 最新欧美精品一区二区三区| 99久久综合精品| **性色生活片久久毛片| 99这里都是精品| 日韩理论片网站| 色菇凉天天综合网| 亚洲激情在线播放| 欧美色电影在线| 天天av天天翘天天综合网| 欧美日韩免费一区二区三区| 一级女性全黄久久生活片免费| 色狠狠桃花综合| 亚洲国产精品综合小说图片区| 欧美无乱码久久久免费午夜一区| 亚洲五码中文字幕| 欧美精品v日韩精品v韩国精品v| 三级影片在线观看欧美日韩一区二区 | 国产一区二区不卡| 国产女主播一区| 色综合久久久网| 亚洲国产综合在线| 日韩一区二区三区在线观看| 精品影院一区二区久久久| 亚洲精品一区在线观看| 成人性视频网站| 一区二区三区四区在线| 538在线一区二区精品国产| 久草中文综合在线| 亚洲国产成人在线| 色成年激情久久综合| 午夜久久久久久| 久久蜜桃av一区二区天堂| 成人在线视频一区| 亚洲综合区在线| 日韩免费观看高清完整版| 国产另类ts人妖一区二区| 综合激情成人伊人| 精品视频一区二区不卡| 美女视频第一区二区三区免费观看网站| 欧美不卡在线视频| 91小视频免费观看| 日本免费新一区视频| 国产亚洲精品精华液| 色综合久久久久久久| 免费成人av在线| 国产精品久久毛片av大全日韩| 欧美专区在线观看一区| 日韩国产在线一| 国产精品电影一区二区三区| 欧美三级在线播放| 国产乱理伦片在线观看夜一区| 亚洲日本一区二区| 欧美白人最猛性xxxxx69交| a级精品国产片在线观看| 五月天一区二区| 国产精品私人影院| 欧美老人xxxx18| 国产成人av电影免费在线观看| 亚洲午夜av在线| 国产精品电影院| 日韩欧美卡一卡二| 欧美专区亚洲专区| 粉嫩av一区二区三区| 日本成人在线不卡视频| 国产精品国产三级国产aⅴ入口| 日韩一区二区三区在线视频| 91视频在线观看免费| 狠狠色丁香婷婷综合久久片| 艳妇臀荡乳欲伦亚洲一区| 久久精品亚洲精品国产欧美kt∨| 欧美色男人天堂| av电影在线观看不卡| 激情丁香综合五月| 天天av天天翘天天综合网| 中文字幕综合网| 国产日韩欧美精品电影三级在线| 日韩一级片在线播放| 欧美日韩一区二区在线观看| 成人aa视频在线观看| 国产一区二区影院| 蜜桃视频第一区免费观看| 亚洲图片欧美视频| 亚洲另类在线一区| 国产精品人妖ts系列视频| 欧美精品一区二区三区视频| 欧美日高清视频| 欧美性欧美巨大黑白大战| 91免费看片在线观看| 丰满少妇在线播放bd日韩电影| 久久福利视频一区二区| 日本一不卡视频| 天堂久久久久va久久久久| 一区二区久久久| 一级中文字幕一区二区| 亚洲欧美另类久久久精品| 中文字幕日本乱码精品影院| 国产日韩欧美在线一区| 久久久久久久久99精品| 精品av综合导航| 久久综合九色综合久久久精品综合| 欧美一区二区三区男人的天堂| 91精品国产全国免费观看 |