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

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

?? som_trajectory.m

?? it is matlab code , som(slef organizing map) tool for matlab
?? M
字號:
function som_trajectory(bmus,varargin)%SOM_TRAJECTORY Launch a "comet" trajectory visualization GUI.%%  som_show(sM,'umat','all')%  bmus = som_bmus(sM,sD);%  som_trajectory(bmus)%  som_trajectory(bmus, 'data1', sD, 'trajsize', [12 6 3 1]')%  som_trajectory(bmus, 'data1', sD.data(:,[1 2 3]), 'name1', {'fii' 'faa' 'foo'})%% Input arguments ([]'s are optional):%   bmus      (matrix) size Nx1, vector of BMUS%   ['argID', (string) Other arguments can be given as 'argID', value   %    value]   (varies) pairs. See list below for valid values.%% NOTE: the GUI only works on a figure which has been made with SOM_SHOW.%% Here are the valid argument IDs (case insensitive) and associated values: %  'color'      string 'xor' or ColorSpec, default: 'xor'. %               (default: according to lattice as in som_cplane)%  'TrajSize'   vector of size Nx1 to define the length of comet%               (N) and size of the comet dots in points. %               default: [16 12 10 8 6 4]' %  'Data1'      SOM Toolbox data struct or matrix. The size of%               data matrix (in data struct the field .data) is%               Nxd, where N must be the same as the amount of%               BMUS given in the first input argument 'bmus'%               This data is shown in a new window in d subplots.%               Default: BMU indices (first input argument)%  'Name1'      cell array of d strings which contains names%               for the components in 'Data1'. If 'Data1' is a SOM%               Toolbox data struct, the existing component names %               are overdone.                 %  'Figure'     scalar that must be a handle to an existing figure%               which has been made using SOM_SHOW function.%               Default: current active figure (gcf).%% The following tools can be found in the 'Tools' -menu.%%  Remove Trajectory: removes trajectory from the map.%  Dye Nodes        : opens GUI for selecting color for the nodes%                     and points selected.%  Clear Markers    : removes markers from map and data figure.%  Save             : saves the current situation as a struct.%  Load             : loads the struct from workspace and draws markers.%% Mouse operation%%  In data window: Left button is used to drag the operation point ruler  %                  if left button is on blank area, it starts %  In map window : Left button starts a polygon; right button%                  finishes; middle button toggles a unit.%% SOM_TRAJECTORY is an application for observing trajectory behavior.%% Using mouse the line in data figure can be dragged and the% trajectory moves in the SOM SHOW figure. It is also possible to move% trajectory by pressing keys '>' and '<' when mouse pointer is above% data figure.% % Regions can be chosen from the data and the points in that region% are mapped to the component planes. Regions can be chosen also in% the map.  In this situation data points and map nodes are also% marked (Left mouse button adds point to the polygon indicating the% region and right button finals the polygon). By clicking a node (the% middle button) that node is either added or removed from selection.% % It should be noticed that choosing intervals from data may cause% situations that seem to be bugs. If there exisist marks of different% color, removing them by clicking the map may left some marks in the% data, because more than one point in the data is mapped to the same% node in the map and the removing operation depends on the color of% the marks. However, all the marks can be removed by using the 'Clear% Markers' -operation.%% FEATURES%% The first input argument 'bmus' may also be a munits x N matrix% In this case each column defines a "fuzzy response". That is,% each column defines a hit histogram function). The element% bmus(i,t) sets the size of marker on unit i at time t. % NOTE: - in this case no regions can be selcted on the map!%       - only > and < keys can be used to move the operation point%         line: it can't be dragged%       - "fuzzy response is always black (hope this will be fixed) %       % It is possible to open a second data window showing different data:% use indetifiers 'Data2' (and 'Name2'). The argument syntax is% identical to 'Data1' (and 'Name1').%% See also SOM_SHOW, SOM_SHOW_ADD, SOM_BMUS. % Contributed to SOM Toolbox 2.0, February 11th, 2000 by Johan% Himberg and Juha Parhankangas% Copyright (c) 2000 by the Johan Himberg and Juha Parhankangas% http://www.cis.hut.fi/projects/somtoolbox/        % Check argumentserror(nargchk(1,Inf,nargin)); % Check no. of input arguments%% Init input argument struct (see subfunction)Traj=iniTraj(bmus);% Check tentative BMU input validityif ~vis_valuetype(bmus,{'nxm'}),  error(['First input should be a vector of BMU indices or' ...	 ' a "response matrix"']);end%% Check optional argumentsfor i=1:2:length(varargin)  identifier=lower(varargin{i});  value=varargin{i+1};  % Trajectory color  switch identifier     case 'color'    if isempty(value)      value='xor';    end    if vis_valuetype(value,{'colorstyle','xor'})      Traj.color=value;    else      error('''Color'' has to be ColorSpec or string ''xor''.');    end      % 1st data     case 'data1'    if isempty(value),      value=[];    elseif vis_valuetype(value,{'nxm'})      Traj.primary_data=value;    elseif isstruct(value) & isfield(value,'type') & ...	  ischar(value.type) & strcmp(value.type,'som_data'),      Traj.primary_data=value.data;      if isempty(Traj.primary_names),	Traj.primary_names=value.comp_names;      end    end       % 2nd data   case 'data2'    if isempty(value),      value=[];    elseif vis_valuetype(value,{'nxm'})      Traj.secondary_data=value;    elseif isstruct(value) & isfield(value,'type') & ...	  ischar(value.type) & strcmp(value.type,'som_data'),      Traj.secondary_data=value.data;      if isempty(Traj.secondary_names),	Traj.secondary_names=value.comp_names;      end     end      % Trajectory length & size   case 'trajsize'    if isempty(value),      Traj.size=[16 12 10 8 6 4]';    end    if vis_valuetype(value,{'nx1'})      Traj.size=value    else      error('''TrajSize'' has to be a nx1 vector.');    end      % Names for first data variables   case 'name1'    if isempty(value),      Traj.primary_names=[];    elseif ~vis_valuetype(value,{'cellcolumn_of_char'}),      error('''Name1'': variable names must be in a cell column array.')     else      Traj.primary_names = value;    end   % Names for 2nd data variables   case 'name2'    if isempty(value),      Traj.secondary_names=[];    elseif ~vis_valuetype(value,{'cellcolumn_of_char'}),      error('''Name2'': variable names must be in a cell column array.')     else      Traj.secondary_names = value;    end      % Figure number   case 'figure'    if isempty(value)      Traj.figure='gcf';    end    if vis_valuetype(value,{'1x1'})      Traj.figure=value;    else      error('''Figure'' should be number of an existing figure.')    end  endend%% Get SOM data from figure[h,msg,lattice,msize,dim]=vis_som_show_data('all',Traj.figure);%% Not a SOM_SHOW figure?if ~isempty(msg);  error('Figure is invalid: use SOM_SHOW to draw the figure.');end% Get map size from figure dataTraj.lattice=lattice; Traj.msize=msize;  if length(msize)>2,  error(['This function works only with 2D maps: figure contains' ...	 ' something else.']);endmunits=prod(msize);% Check BMU (or response) and map match if vis_valuetype(bmus,{'nx1'});  if max(bmus)>prod(msize) | min(bmus) <1    error('BMU indexes out of range.')  elseif any(round(bmus)~=bmus)    error('BMU indexes must be integer.');  elseif isempty(Traj.primary_data),    Traj.primary_data=bmus;  endelseif size(bmus,1) ~= munits   error(['Response matrix column number must match with the number of' ...	 ' map units.']);else  bmus=bmus';  if isempty(Traj.primary_data),    Traj.primary_data=[1:size(bmus,1)]';    Traj.primary_names={'BMU Index'};  endendsize1=size(Traj.primary_data);size2=size(Traj.secondary_data);% Data2 must not be defined aloneif isempty(Traj.primary_data)&~isempty(Traj.secondary_data),  error('If ''Data2'' is specified ''Data1'' must be specified, too.');elseif ~isempty(Traj.secondary_data) ...      & size1~= size2  % If data1 and data2 exist both, check data1 and data2 match  error('''Data1'' and ''Data2'' have different amount of data vectors.')end% Check BMU and data1 match (data2 matches with 1 anyway)if ~isempty(Traj.primary_data) & size(bmus,1) ~= size1,  error(['The number of data vectors in ''data1'' must match with' ...	 ' the number of rows in the first input argument (bmus).']);end% Check that number of names and data dimension is consistentif ~isempty(Traj.primary_names) & (size1(2)~=length(Traj.primary_names)),  error('Number of component names and ''Data1'' dimension mismatch.');endif ~isempty(Traj.secondary_names) & ...      (size2(2)~=length(Traj.secondary_names)),  error('Number of component names and ''Data2'' dimension mismatch.');end%% Call the function that does the jobvis_trajgui(Traj);%%% Subfunctions %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%function Traj=iniTraj(bmus)Traj.figure=gcf;Traj.primary_data=[];Traj.secondary_data=[];Traj.primary_names = [];  Traj.secondary_names = [];  Traj.size=[16 12 10 8 6 4]';Traj.bmus=bmus;Traj.color='xor';Traj.msize=[];Traj.lattice=[];

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲午夜日本在线观看| 日韩伦理电影网| 国产精品天美传媒沈樵| 一区二区三区欧美日| 日韩av在线免费观看不卡| 国产91富婆露脸刺激对白| 欧美日韩免费电影| 国产精品丝袜一区| 蜜桃av一区二区| 91黄色在线观看| 久久久久久久久久久99999| 夜夜夜精品看看| 成人免费高清在线| 日韩免费看的电影| 亚洲gay无套男同| 成人免费黄色大片| 久久九九影视网| 精品综合免费视频观看| 欧美丝袜丝nylons| 亚洲精品乱码久久久久久久久| 蜜臀av一区二区在线观看| 欧美日韩视频在线第一区| 亚洲精品视频免费看| 成人黄色一级视频| 中文字幕视频一区| 99久久er热在这里只有精品66| 久久综合网色—综合色88| 成人一道本在线| 欧美一级在线视频| 精品中文字幕一区二区小辣椒| 欧美日韩成人综合在线一区二区| 一级精品视频在线观看宜春院| 91福利资源站| 亚洲成av人片| 2022国产精品视频| 成人三级伦理片| 亚洲精品亚洲人成人网 | 在线视频国产一区| 亚洲综合精品自拍| 欧美吞精做爰啪啪高潮| 日本91福利区| 精品剧情在线观看| 国产精品一二三在| 亚洲精品国产高清久久伦理二区| 色婷婷激情综合| 三级欧美韩日大片在线看| 久久久另类综合| 一本一本大道香蕉久在线精品 | 色综合中文字幕国产 | 久久黄色级2电影| 国产精品日韩成人| 日韩视频免费观看高清在线视频| 国产福利一区二区三区视频在线| 国产精品黄色在线观看| 欧美成人a∨高清免费观看| 色婷婷狠狠综合| 久久99精品国产麻豆婷婷| 一区二区三区加勒比av| 精品久久久久av影院| 欧美日韩高清一区二区三区| 91精品国产综合久久精品| 色狠狠一区二区| 99久久久无码国产精品| 久久激情五月激情| 日韩有码一区二区三区| 一区二区三区毛片| 日韩毛片精品高清免费| 欧美国产一区在线| 久久久午夜精品理论片中文字幕| 欧美一区二区三区四区高清| 在线观看中文字幕不卡| 91麻豆123| 色婷婷综合久久久中文字幕| 成人国产精品免费观看动漫| 国产乱人伦精品一区二区在线观看| 日本欧美加勒比视频| 视频在线观看国产精品| 美腿丝袜亚洲色图| 麻豆91精品视频| 国产精品一级在线| 大尺度一区二区| 91啪亚洲精品| 欧美大胆人体bbbb| 欧美国产1区2区| 亚洲综合激情另类小说区| 午夜婷婷国产麻豆精品| 日本不卡一二三| 国产精品自拍三区| 成人h精品动漫一区二区三区| 99精品一区二区| 欧美网站大全在线观看| 26uuu欧美日本| 国产精品国产a| 全部av―极品视觉盛宴亚洲| 成人黄色在线看| 91精品国产手机| 国产精品九色蝌蚪自拍| 日韩av电影天堂| 不卡免费追剧大全电视剧网站| 欧美性猛交一区二区三区精品| 日韩欧美电影在线| 亚洲日本乱码在线观看| 加勒比av一区二区| 欧美日本在线视频| 国产精品久久福利| 国产一区二区日韩精品| 欧美高清性hdvideosex| 中文幕一区二区三区久久蜜桃| 香蕉成人伊视频在线观看| 国产91丝袜在线观看| 2023国产精华国产精品| 性久久久久久久久久久久| 99久久久精品| 国产精品二三区| 粗大黑人巨茎大战欧美成人| 精品国产不卡一区二区三区| 午夜精品久久一牛影视| 色呦呦国产精品| 国产精品天美传媒| caoporn国产一区二区| 国产亚洲欧美一级| 风间由美中文字幕在线看视频国产欧美 | 国产在线一区观看| 337p亚洲精品色噜噜噜| 亚洲一区二区三区四区五区中文| 在线亚洲一区二区| 亚洲男人的天堂av| 在线观看三级视频欧美| 日韩国产欧美视频| 亚洲男人都懂的| 99re热这里只有精品视频| 亚洲欧美日韩精品久久久久| 91影视在线播放| 日本v片在线高清不卡在线观看| 欧美亚洲国产一卡| 久久黄色级2电影| 国产精品免费免费| 欧美日韩你懂的| 国产不卡在线一区| 一区二区三区精品视频| 欧美sm美女调教| 色呦呦国产精品| 精品一区二区三区的国产在线播放| 久久久蜜臀国产一区二区| 色综合中文综合网| 欧美videos大乳护士334| 成人免费毛片嘿嘿连载视频| 亚洲国产日韩综合久久精品| 亚洲精品一区二区三区精华液| 成人黄色在线网站| 久久精品99久久久| 污片在线观看一区二区| 日韩一区欧美小说| 久久精品视频一区二区| 678五月天丁香亚洲综合网| 99re视频这里只有精品| 国产精品一区二区视频| 蜜桃视频在线观看一区| 亚洲第一成人在线| 一区二区三区美女视频| 亚洲天堂av一区| 中文字幕永久在线不卡| 久久美女高清视频| 精品日韩一区二区| 日韩精品一区二区三区中文精品| 在线一区二区三区四区| 一本色道综合亚洲| 欧美亚洲禁片免费| 日韩午夜精品视频| 欧美v国产在线一区二区三区| 欧美电影在线免费观看| 日韩一区二区三区电影| 欧美一级高清片在线观看| 日韩欧美一级精品久久| 亚洲精品在线电影| 国产精品天美传媒沈樵| 亚洲在线视频一区| 日韩制服丝袜先锋影音| 成人午夜伦理影院| 国产成人无遮挡在线视频| 成人国产视频在线观看| 九一九一国产精品| 日韩专区在线视频| 国产成人精品网址| 欧美日韩久久一区二区| 宅男噜噜噜66一区二区66| 久久亚洲影视婷婷| 亚洲视频精选在线| 久久国产精品一区二区| 91丝袜美腿高跟国产极品老师 | 久久亚洲影视婷婷| 亚洲免费av在线| 国产成人精品影院| 51久久夜色精品国产麻豆| 亚洲日本韩国一区| 国产一区在线观看麻豆| 欧美网站大全在线观看| 日韩理论在线观看| 国产成人精品www牛牛影视| 欧美私人免费视频|