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

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

?? som_autolabel.m

?? it is matlab code , som(slef organizing map) tool for matlab
?? M
字號:
function [sTo] = som_autolabel(sTo, sFrom, mode, inds)%SOM_AUTOLABEL Automatical labeling, or clearing of labels.%% sTo = som_autolabel(sTo, sFrom, [mode], [inds])%%   sM = som_autolabel(sM,sD);      %   sD = som_autolabel(sD,sM);   %   sM = som_autolabel(sM,sD,'vote',[5]);%%  Input and output arguments ([]'s are optional): %   sTo      (struct) data or map struct to which the labels are put,%                     the modified struct is returned%   sFrom    (struct) data or map struct from which the labels are taken%   [mode]   (string) labeling algorithm: 'add' (the default), 'freq' %                     or 'vote'%   [inds]   (vector) the column-indexes of the labels that are to be%                     used in the operation (e.g. [2] would mean to use%                     only the second column of labels array in sFrom) % % The modes:%  'add':   all labels from sFrom are added to sTo (even multiple%           copies of same)  %  'add1':  only one instance of each label is kept%  'freq':  only one instance of each label is kept and '(#)', where %           # is the frequency of the label, is added to the end of %           the label. Labels are ordered according to frequency. %  'vote':  only the label with most instances is kept%% NOTE: The operations are only performed for the new labels. %       The old labels in sTo are left as they are.% NOTE: all empty labels ('') are ignored.%% For more help, try 'type som_autolabel' or check out online documentation.% See also SOM_LABEL, SOM_BMUS, SOM_SHOW_ADD, SOM_SHOW.%%%%%%%%%%%%% DETAILED DESCRIPTION %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% som_autolabel%% PURPOSE%% Automatically label to map/data structs based on given data/map.%% SYNTAX%%  sTo = som_autolabel(sTo, sFrom)%  sTo = som_autolabel(sTo, sFrom, 'add')%  sTo = som_autolabel(sTo, sFrom, 'freq')%  sTo = som_autolabel(sTo, sFrom, 'vote')%  sTo = som_autolabel(..., inds)%% DESCRIPTION%% This function automatically labels given map/data struct based on an% already labelled data/map struct. Basically, the BMU of each vector in the% sFrom struct is found from among the vectors in sTo, and the vectors in% sFrom are added to the corresponding vector in the sTo struct. The actual% labels to add are selected based on the mode ('add', 'freq' or 'vote').%%  'add'  :  all labels from sFrom are added to sTo - even if there would %            be multiple instances of the same label%  'add1' :  only one instance of each label is kept%  'freq' :  only one instance of each label is kept and '(#)', where %            # is the frequency of the label, is added to the end of %            the label. Labels are ordered according to frequency. %  'vote' :  only the label with most instances is added%% Note that these operations do not effect the old labels of sTo: they % are left as they were.  % % NOTE: empty labels ('') are ignored.%% REQUIRED INPUT ARGUMENTS%%   sTo    (struct) data or map struct to which the labels are put %   sFrom  (struct) data or map struct from which the labels are taken%% OPTIONAL INPUT ARGUMENTS %%   mode   (string) The mode of operation: 'add' (default), %                   'add1', 'freq' or 'vote'%   inds   (vector) The columns of the '.labels' field in sFrom to be %                   used in operation%% OUTPUT ARGUMENTS% %   sTo    (struct) the given data/map struct with modified labels% % EXAMPLES%% To label a trained map based on (labelled) training data, just do%%  sM = som_autolabel(sM,sD);      %% This operation is sometimes called "calibration" in the literature.% You can also do this the other way around: use a labelled map to % label a data set: %%  sD = som_autolabel(sD,sM);   %% If you only want a single instance of each label, use the 'freq' mode: %%  sM = som_autolabel(sM,sD,'freq');%% If you already have labels in the struct, and want to perform 'freq' on % them, do the following: %%  sMtemp = som_label(sM,'clear','all'); % make a map struct with no labels%  sM = som_autolabel(sMtemp,sM,'freq'); % add labels to it%% The third mode 'vote' votes between the labels and only adds the one% which is most frequent. If two labels are equally frequent, one or the% other is chosen based on which appears first in the list.%%  sM = som_autolabel(sM,sD,'vote');%% The lat argument is useful if you have specific labels in each column% of the '.labels' field. For example, the first column might be an% identifier, the next a typecode and the last a year. In this case, you% might want to label the map based only on the typecode: % %  sM  = som_autolabel(sM,sD,'vote',2);%% SEE ALSO% %  som_label     Give/remove labels from a map/data set.%  som_bmus      Find BMUs from the map for the given set of data vectors.%  som_show      Show map planes.%  som_show_add  Add for example labels to the SOM_SHOW visualization.% Copyright (c) 1997-2000 by the SOM toolbox programming team.% http://www.cis.hut.fi/projects/somtoolbox/% Version 1.0beta juuso 101297 % Version 2.0beta juuso 101199%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% check argumentserror(nargchk(2, 4, nargin));  % check no. of input args is correct% sTotodata = strcmp(sTo.type,'som_data');% sFrom [dummy m] = size(sFrom.labels);% modeif nargin<3 | isempty(mode), mode = 'add'; end% indsif nargin<4, inds = 1:m; endinds = inds(find(inds>0 & inds<=m));  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% get a list of the labels to be added to each vector% calculate BMUsif todata, bmus = som_bmus(sFrom,sTo,1);else bmus = som_bmus(sTo,sFrom,1); end% for each vector in sTo, make a list of all new labelsLabels = cell(size(sTo.labels,1),1);for d=1:length(bmus),   m = bmus(d);   if todata, t = d; f = m; else t = m; f = d; end  if ~isnan(m),     % add the labels    for j=1:length(inds),       if ~isempty(sFrom.labels{f,inds(j)}),         Labels{t}{length(Labels{t})+1} = sFrom.labels{f,inds(j)};       end    end   endend%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% insert the labels to sToif strcmp(mode,'add1') | strcmp(mode,'freq') | strcmp(mode,'vote'),  % modify the Labels array apprpriately    for i=1:length(Labels),        % calculate frequency of each label in each node    new_labels = {};    new_freq = [];    for j=1:length(Labels{i}),      if isempty(Labels{i}{j}), % ignore      elseif ~any(strcmp(Labels{i}{j},new_labels)), % a new one!	k = length(new_labels) + 1;	new_labels{k} = Labels{i}{j};	new_freq(k) = sum(strcmp(new_labels{k},Labels{i}));      else, % an old one, ignore             end    end        % based on frequency, select label(s) to be added     if length(new_labels) > 0,      if strcmp(mode,'add1'), 	Labels{i} = new_labels;      else      	% sort labels according to frequency	[dummy order] = sort(1./(1+new_freq));	new_labels = new_labels(order);	new_freq = new_freq(order);		switch mode,	 case 'freq', 	  % replace each label with 'label(#)' where # is the frequency	  for j=1:length(new_labels), 	    labf = sprintf('%s(%d)',new_labels{j},new_freq(j));	    new_labels{j} = labf;	  end	  Labels{i} = new_labels;	 case 'vote',	  % place only the one with most votes 	  Labels{i} = {new_labels{1}};	end       end     end      endendsTo = som_label(sTo,'add',[1:length(Labels)]',Labels);%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产不卡在线视频| www国产精品av| 久久久精品黄色| 一区二区成人在线| 国产一区二区在线免费观看| 欧美亚洲国产bt| 国产精品天干天干在观线| 免费人成网站在线观看欧美高清| 成人一二三区视频| 亚洲精品一区二区精华| 天堂久久久久va久久久久| 亚洲精品乱码久久久久久| 国产成+人+日韩+欧美+亚洲| 欧美v日韩v国产v| 成人午夜私人影院| 肉丝袜脚交视频一区二区| 欧美大尺度电影在线| 成人ar影院免费观看视频| 亚洲高清中文字幕| 精品国产免费一区二区三区香蕉| 久久97超碰国产精品超碰| 中文字幕字幕中文在线中不卡视频| 日韩欧美电影在线| 日韩理论片在线| 欧美日韩精品福利| 欧美日韩不卡在线| 亚洲五月六月丁香激情| 一本色道久久综合精品竹菊| 国产精品二区一区二区aⅴ污介绍| 国产精品一区二区久久精品爱涩| 日韩欧美一区二区在线视频| 男人操女人的视频在线观看欧美| 国产精品久久一级| 成人三级伦理片| 亚洲国产精品成人综合色在线婷婷| 国产精品一二三在| 国产精品私人自拍| 99久久免费精品| 亚洲精品成a人| 欧美美女直播网站| 秋霞午夜鲁丝一区二区老狼| 日韩一卡二卡三卡四卡| 美国av一区二区| 欧美电视剧在线看免费| 精品一区二区三区免费| 国产日韩欧美高清| 日本道精品一区二区三区| 亚洲大尺度视频在线观看| 欧美一区二区视频在线观看2022| 日韩福利视频导航| 久久久国产精品午夜一区ai换脸| 成人黄色小视频在线观看| 亚洲色图视频网| 8x福利精品第一导航| 日韩成人一区二区三区在线观看| www欧美成人18+| 91免费视频大全| 青娱乐精品视频在线| 国产日韩欧美精品在线| 日本韩国欧美在线| 蜜臀国产一区二区三区在线播放| 久久久不卡影院| 欧美影院午夜播放| 国产在线视视频有精品| 成人免费一区二区三区视频| 3d动漫精品啪啪| 成人影视亚洲图片在线| 午夜精品福利一区二区三区av| 精品国产区一区| 欧美亚洲一区二区三区四区| 免费观看成人鲁鲁鲁鲁鲁视频| 国产精品美女久久福利网站| 欧美久久久久中文字幕| 精品日韩一区二区三区| 99国产精品一区| 老鸭窝一区二区久久精品| 综合久久久久久久| 欧美精品一区二区三区视频| 色8久久精品久久久久久蜜| 久久精品国产99| 亚洲大尺度视频在线观看| 久久九九久久九九| 欧美精品18+| 91麻豆免费观看| 国产成人av福利| 奇米影视一区二区三区| 樱桃国产成人精品视频| 国产偷国产偷亚洲高清人白洁| 欧美日韩激情在线| 色狠狠一区二区| 成人在线视频一区| 国产主播一区二区| 亚洲成人av福利| 亚洲自拍偷拍综合| 亚洲欧洲精品一区二区三区不卡| 日韩午夜在线观看视频| 欧美日韩成人综合| 欧美亚洲综合另类| 色综合久久综合网欧美综合网 | 一区二区三区免费在线观看| 欧美成人一区二区三区片免费| 欧美天堂一区二区三区| 国产女主播一区| 亚洲精品在线三区| 日韩欧美国产电影| 91精品视频网| 欧美一区二区三区的| 欧美欧美午夜aⅴ在线观看| 色域天天综合网| 在线视频你懂得一区| 99国产精品久久久久| 99久精品国产| 成人爱爱电影网址| 91最新地址在线播放| 国产69精品久久99不卡| 国产精品中文字幕一区二区三区| 久久国产精品免费| 狠狠色狠狠色综合系列| 精品一区二区三区的国产在线播放| 男人的j进女人的j一区| 久久福利资源站| 国产超碰在线一区| 99久久精品国产一区| 日本精品一区二区三区高清| 欧美性做爰猛烈叫床潮| 欧美精品一二三区| 日韩免费电影一区| 精品国产制服丝袜高跟| 久久久亚洲精品一区二区三区| 国产亚洲欧美色| 综合婷婷亚洲小说| 亚洲成人7777| 国产一区在线观看麻豆| 成人在线视频一区二区| 91久久精品网| 精品日韩一区二区三区免费视频| 国产欧美一区二区三区网站| 日韩一区有码在线| 丝袜诱惑制服诱惑色一区在线观看 | 在线国产电影不卡| 欧美精品123区| 国产亚洲污的网站| 夜夜精品浪潮av一区二区三区| 日本在线不卡视频| 成人免费视频免费观看| 欧美三级日韩在线| 亚洲国产欧美一区二区三区丁香婷| 日日嗨av一区二区三区四区| 国产成人亚洲精品青草天美| 色综合av在线| 精品毛片乱码1区2区3区| 中文字幕在线免费不卡| 午夜不卡在线视频| 99久久精品国产麻豆演员表| 在线成人午夜影院| 亚洲视频在线一区| 美女视频网站黄色亚洲| 99久久er热在这里只有精品66| 宅男在线国产精品| 亚洲免费伊人电影| 国产剧情在线观看一区二区| 欧美日韩国产免费一区二区| 国产日产精品一区| 男人的天堂久久精品| 91亚洲精品乱码久久久久久蜜桃| 日韩欧美国产成人一区二区| 亚洲激情图片一区| 国产成人亚洲综合a∨婷婷 | 日韩电影在线观看网站| av资源网一区| 久久久国产综合精品女国产盗摄| 亚洲国产精品麻豆| 日本道免费精品一区二区三区| 91精品国产91久久久久久最新毛片 | 在线欧美小视频| 国产性色一区二区| 久久精品72免费观看| 91福利在线观看| 亚洲激情在线播放| 一本一道久久a久久精品| 久久久亚洲精品石原莉奈| 美女精品自拍一二三四| 欧美性猛交一区二区三区精品| 一区二区中文字幕在线| 色视频成人在线观看免| 国产精品女同一区二区三区| 毛片av一区二区| 欧美精品一区二区久久婷婷| 久久99精品国产.久久久久久| 欧美一区二区三区在线观看| 丝袜亚洲精品中文字幕一区| 欧美精品xxxxbbbb| 激情偷乱视频一区二区三区| 日韩久久久久久| 不卡av在线免费观看| 亚洲精品高清在线| 日韩视频免费观看高清完整版在线观看 | 在线不卡一区二区| 亚洲大片精品永久免费| 精品福利视频一区二区三区|