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

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

?? som_clstruct.m

?? 適用于需要用matlab環境
?? M
字號:
function sC = som_clstruct(Z,varargin)%SOM_CLSTRUCT Create a clustering struct or set its field values.%%  sC = som_clstruct(Z, [argID, value, ...]) %%    Z  = linkage(pdist(sM.codebook));%    sC = som_clstruct(Z); %    sC = som_clstruct(sC,'coord',som_vis_coords(lattice,msize));%    sC = som_clstruct(sC,'color',som_colorcode(sM));%    sC = som_clstruct(sC,'base',sC.base(som_bmus(sM,sD)));%%  Input and output arguments ([]'s are optional): %   Z         (matrix) size clen-1 x 3, where clen is the number of %                      base clusters. This is a clustering matrix %                      similar to that produced by LINKAGE in %                      Statistical Toolbox. See SOM_LINKAGE.%             (struct) clustering struct (as produced by this function)%   [argID,   (string) See below. Each pair is the fieldname and %    value]   (varies) the value to be given to that field.%%   sC        (struct) clustering struct% %   The clustering struct is based on the assumption that there %   is a base partitioning of the SOM (or data) which is saved in %   the .base field of the struct. Then a hierarchical clustering%   is applied to this base partitioning. The results are saved to %   .tree field of the struct. Each cluster (base and combined)%   has also three properties: height, coordinate and color, which %   are used in the visualizations. The fields of the struct are:%     .type   (string) 'som_clustering'%     .name   (string) Identifier for the clustering.%     .tree   (matrix) Size clen-1 x 3, as argument Z above. %     .base   (vector) Size dlen x 1, the basic groups of data %                      forming the base clusters, e.g. as a result %                      of partitive clustering. Allowed values are %                       1:clen indicating the base cluster%                              to which the data belongs to. %                       NaN    indicating that the data has%                              been ignored in the clustering%                      By default [1:clen]. %     .height (vector) Size 2*clen-1 x 1, (clustering) height for each %                      cluster. By default 0 for each base cluster and%                      .tree(:,3) for the others.%     .coord  (matrix) Size 2*clen-1 x *, coordinate for each cluster, %                      By default the coordinates are set so that %                      the base clusters are ordered on a line, and the%                      position of each combined cluster is average of %                      the base clusters that constitute it.%     .color  (matrix) Size 2*clen-1 x 3, color for each cluster. %                      By default the colors are set so that the %                      base clusters are ordered on a line, like above,%                      and then colors are assigned from the 'hsv' %                      colormap to the base clusters. The color%                      of each combined cluster is average as above.%% Height, coord and color can also be specified in alternate forms:%   'height' (vector) size 2*clen-1 x 1, if given explicitly%                     size clen-1 x 1, specified heights of the %                          combined clusters (the base cluster heights%                          are all = 0)%                     size 0 x 0, default value is used%   'coord'  (matrix) size 2*clen-1 x *, if given explicitly%                     size clen x *, to give coordinates for base %                          clusters; the coordinate of combined clusters%                          are averaged from these%                     size dlen x *, to give coordinates of the %                          original data: the cluster coordinates are%                          averaged from these based on base clusters%                     size 0 x 0, default value is used%   'color'  (matrix) as 'coord'%% See also  SOM_CLPLOT, SOM_CLVALIDITY, SOM_CLGET, SOM_CLLINKAGE.% Copyright (c) 2000 by the SOM toolbox programming team.% Contributed to SOM Toolbox on XXX by Juha Vesanto% http://www.cis.hut.fi/projects/somtoolbox/% Version 2.0beta juuso 180800%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%if isstruct(Z),   base = Z.base;   color = Z.color;   coord = Z.coord;   height = Z.height;   name = Z.name;   Z = Z.tree; else  base  = [];   color = [];   coord = [];   height = [];   name = ''; end    clen  = size(Z,1)+1; i=1; while i<=length(varargin),   argok = 1;   if ischar(varargin{i}),     switch varargin{i},      case 'tree',   i=i+1; Z = varargin{i}; clen = size(Z,1)+1;     case 'base',   i=i+1; base = varargin{i};      case 'color',  i=i+1; color = varargin{i};      case 'coord',  i=i+1; coord = varargin{i};      case 'height', i=i+1; height = varargin{i};      case 'name',   i=i+1; name = varargin{i};      otherwise argok=0;     end  else argok = 0;   end  if ~argok, disp(['(som_clstruct) Ignoring invalid argument #' num2str(i+1)]); end  i = i+1; endif isempty(base),   dlen = clen;   base = 1:dlen; else  dlen = length(base);   if any(base)>clen | any(base)<1, error('Incorrect base partition vector.'); endend%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% analysis of hierarchy% order of base clustersorder = 2*clen-1; nonleaves = 1; while any(nonleaves),   j = nonleaves(1);   ch = Z(order(j)-clen,1:2);  if j==1, oleft = []; else oleft = order(1:(j-1)); end  if j==length(order), oright = []; else oright = order((j+1):length(order)); end  order = [oleft, ch, oright];  nonleaves = find(order>clen); end% base cluster indeces for each non-base clusterbasecl = cell(clen-1,1); for i=1:clen-1,   c1 = Z(i,1); if c1>clen, c1 = basecl{c1-clen}; end  c2 = Z(i,2); if c2>clen, c2 = basecl{c2-clen}; end  basecl{i} = [c1 c2];   end%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% set coordinates, color and height and make the struct% coordinatesif size(coord,1)==2*clen-1, % this is ok alreadyelse  if size(coord,1)==0, % the default        [dummy,coord] = sort(order);     coord = coord';   elseif size(coord,1)==dlen & dlen>clen, % coordinates given for original data    codata = coord;     coord = zeros(clen,size(coord,2));     for i=1:clen, coord(i,:) = mean(codata(find(base==i),:),1); end    end  if size(coord,1)==clen, % average from base clusters    coord = [coord; zeros(clen-1,size(coord,2))];     for i=1:clen-1, coord(i+clen,:) = mean(coord(basecl{i},:),1); end  else    error('Incorrect coordinate matrix.');   endend% colorif size(color,1)==2*clen-1, % this is ok alreadyelse  if size(color,1)==0, % the default    color(order,:) = hsv(length(order));   elseif size(color,1)==dlen & dlen>clen, % colors given for original data    codata = color;     color = zeros(clen,3);     for i=1:clen, color(i,:) = mean(codata(find(base==i),:),1); end    end  if size(color,1)==clen, % average from base clusters    color = [color; zeros(clen-1,3)];     for i=1:clen-1, color(i+clen,:) = mean(color(basecl{i},:),1); end  else    error('Incorrect color matrix.');   endend% height if isempty(height),   height = [zeros(clen,1); Z(:,3)]; elseif length(height)==clen-1,   if size(height,2)==clen-1, height = height'; end  height = [zeros(clen,1); height]; elseif length(height)~=2*clen-1,   error('Incorrect height vector.'); end% make the structsC = struct('type','som_clustering',...	    'name',name,'base',base,'tree',Z,...	    'color',color,'coord',coord,'height',height); return; %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%    

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美va亚洲va在线观看蝴蝶网| 男人的天堂久久精品| 奇米777欧美一区二区| 成人免费在线播放视频| 欧美日韩国产高清一区| 国产乱子轮精品视频| 极品美女销魂一区二区三区免费| 日本系列欧美系列| 日本不卡123| 美女国产一区二区三区| 激情综合网最新| 久久爱www久久做| 国内精品伊人久久久久av影院 | 亚洲无人区一区| 亚欧色一区w666天堂| 免费在线观看视频一区| 国产自产视频一区二区三区| 成人一区在线观看| 在线观看不卡视频| 欧美电影免费观看高清完整版| 久久中文字幕电影| 日韩精品在线看片z| 欧美视频一二三区| 精品成人a区在线观看| 日本一区二区成人| 亚洲成人资源在线| 国产白丝网站精品污在线入口| 国产乱码精品一品二品| 色哟哟亚洲精品| 日韩精品一区二区三区中文精品| 中文字幕乱码日本亚洲一区二区 | 精品三级在线看| 国产精品污www在线观看| 亚洲女子a中天字幕| 免费在线观看一区| 91捆绑美女网站| 国产精品亚洲视频| 欧美精品国产精品| 亚洲天堂2014| 日韩不卡手机在线v区| 成人动漫av在线| 日韩亚洲欧美中文三级| 亚洲色图欧美激情| 精品一区二区三区在线播放 | 亚洲国产精品成人综合| 首页综合国产亚洲丝袜| av在线不卡观看免费观看| 56国语精品自产拍在线观看| 亚洲人成网站精品片在线观看| 久久99精品久久久| 欧美丰满美乳xxx高潮www| 亚洲国产电影在线观看| 久久精品国产秦先生| 欧美无砖专区一中文字| 亚洲国产精品高清| 国产呦萝稀缺另类资源| 3atv一区二区三区| 亚洲一级片在线观看| 99国产精品一区| 国产精品国产三级国产三级人妇| 国内精品免费在线观看| 欧美一区二区三区视频在线 | 欧美色精品天天在线观看视频| 日本一区二区电影| 国产成人亚洲精品青草天美| 欧美不卡一区二区| 久久精品国内一区二区三区| 制服.丝袜.亚洲.另类.中文| 亚洲午夜私人影院| 欧美亚日韩国产aⅴ精品中极品| 一区二区三区免费观看| 视频一区二区欧美| 91国产精品成人| 国产精品国产三级国产普通话三级 | av一二三不卡影片| 美国精品在线观看| 精品视频色一区| 亚洲国产视频a| 在线看不卡av| 亚洲图片欧美综合| 91.com在线观看| 久久精品国产网站| 国产日韩欧美精品电影三级在线| 国产精品美女视频| 久草在线在线精品观看| 国产亚洲污的网站| 成人91在线观看| 亚洲黄色小视频| 69久久99精品久久久久婷婷 | 成人高清视频在线| 亚洲免费在线看| 欧美天天综合网| 美女久久久精品| 中文字幕电影一区| 91福利国产精品| 日韩高清在线观看| 国产亚洲人成网站| 91色九色蝌蚪| 老司机午夜精品99久久| 国产精品久久一卡二卡| 欧洲生活片亚洲生活在线观看| 亚洲精品欧美二区三区中文字幕| 欧美日韩亚洲综合在线| 国产精品亚洲一区二区三区在线| 亚洲色图欧美在线| 日韩精品一区二区三区中文不卡| 国产成人av电影在线| 夜夜嗨av一区二区三区四季av| 欧美日韩和欧美的一区二区| 国产自产v一区二区三区c| 亚洲美女视频在线| 久久色.com| 欧美日韩日日摸| 高清在线不卡av| 日韩av午夜在线观看| 中日韩免费视频中文字幕| 欧美精品1区2区| av电影天堂一区二区在线观看| 美日韩一区二区| 亚洲精品视频免费看| 精品99999| 欧美日韩高清一区二区三区| 国产91丝袜在线播放| 日韩av在线播放中文字幕| 亚洲欧洲日本在线| 久久美女高清视频| 91精品国产高清一区二区三区 | 日韩美一区二区三区| 91久久免费观看| 国产91色综合久久免费分享| 天天操天天干天天综合网| 国产精品久久久久影院| wwww国产精品欧美| 欧美一区国产二区| 精品视频1区2区3区| aaa亚洲精品| 成人avav影音| 成人免费毛片嘿嘿连载视频| 久久99精品久久久久久久久久久久| 亚洲va欧美va人人爽| 亚洲精品视频一区| 亚洲精品乱码久久久久久黑人| 国产日韩精品一区| 亚洲国产精品精华液ab| 久久久精品影视| 国产片一区二区三区| 国产欧美日韩综合精品一区二区| 欧美不卡一区二区三区| 精品裸体舞一区二区三区| 欧美一级片在线观看| 日韩一区二区中文字幕| 日韩亚洲欧美在线观看| 精品卡一卡二卡三卡四在线| 日韩精品最新网址| 日韩欧美三级在线| 久久伊人中文字幕| 国产亚洲欧美日韩日本| 国产欧美一二三区| 亚洲视频资源在线| 亚洲精品福利视频网站| 亚洲成人中文在线| 理论电影国产精品| 高清在线成人网| 91福利在线播放| 欧美高清一级片在线| 精品久久久久久久久久久院品网 | 在线观看三级视频欧美| 精品视频在线免费观看| 日韩三级av在线播放| 久久在线免费观看| 综合分类小说区另类春色亚洲小说欧美 | 国产精品美女视频| 一区二区三区.www| 日本成人中文字幕| 粉嫩aⅴ一区二区三区四区| 91麻豆swag| 欧美一区二区成人6969| 国产亚洲欧美色| 亚洲成a人v欧美综合天堂| 精一区二区三区| 99精品国产91久久久久久| 91精品在线麻豆| 欧美国产一区在线| 丝袜美腿亚洲一区二区图片| 国产一区二区三区综合| 91视频在线观看| 精品久久久久久久久久久久包黑料| 国产精品久久毛片a| 亚洲va韩国va欧美va| 国产馆精品极品| 欧美一三区三区四区免费在线看| 国产欧美精品日韩区二区麻豆天美| 亚洲一区二区三区免费视频| 国产老肥熟一区二区三区| 91福利在线观看| 国产精品五月天| 久久精品99国产精品日本| 精品一区二区三区免费观看| 91丝袜国产在线播放| 精品国产第一区二区三区观看体验 |