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

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

?? som_seqtrain.m

?? it is matlab code , som(slef organizing map) tool for matlab
?? M
?? 第 1 頁 / 共 2 頁
字號:
function [sMap, sTrain] = som_seqtrain(sMap, D, varargin)%SOM_SEQTRAIN  Use sequential algorithm to train the Self-Organizing Map.%% [sM,sT] = som_seqtrain(sM, D, [[argID,] value, ...])% %  sM     = som_seqtrain(sM,D);%  sM     = som_seqtrain(sM,sD,'alpha_type','power','tracking',3);%  [M,sT] = som_seqtrain(M,D,'ep','trainlen',10,'inv','hexa');%%  Input and output arguments ([]'s are optional): %   sM      (struct) map struct, the trained and updated map is returned%           (matrix) codebook matrix of a self-organizing map%                    size munits x dim or  msize(1) x ... x msize(k) x dim%                    The trained map codebook is returned.%   D       (struct) training data; data struct%           (matrix) training data, size dlen x dim%   [argID, (string) See below. The values which are unambiguous can %    value] (varies) be given without the preceeding argID.%%   sT      (struct) learning parameters used during the training%% Here are the valid argument IDs and corresponding values. The values which% are unambiguous (marked with '*') can be given without the preceeding argID.%   'mask'        (vector) BMU search mask, size dim x 1%   'msize'       (vector) map size%   'radius'      (vector) neighborhood radiuses, length 1, 2 or trainlen%   'radius_ini'  (scalar) initial training radius%   'radius_fin'  (scalar) final training radius%   'alpha'       (vector) learning rates, length trainlen%   'alpha_ini'   (scalar) initial learning rate%   'tracking'    (scalar) tracking level, 0-3 %   'trainlen'    (scalar) training length%   'trainlen_type' *(string) is the given trainlen 'samples' or 'epochs'%   'train'      *(struct) train struct, parameters for training%   'sTrain','som_train '  = 'train'%   'alpha_type' *(string) learning rate function, 'inv', 'linear' or 'power'%   'sample_order'*(string) order of samples: 'random' or 'ordered'%   'neigh'      *(string) neighborhood function, 'gaussian', 'cutgauss',%                          'ep' or 'bubble'%   'topol'      *(struct) topology struct%   'som_topol','sTopo l'  = 'topol'%   'lattice'    *(string) map lattice, 'hexa' or 'rect'%   'shape'      *(string) map shape, 'sheet', 'cyl' or 'toroid'%% For more help, try 'type som_seqtrain' or check out online documentation.% See also  SOM_MAKE, SOM_BATCHTRAIN, SOM_TRAIN_STRUCT.%%%%%%%%%%%%% DETAILED DESCRIPTION %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% som_seqtrain%% PURPOSE%% Trains a Self-Organizing Map using the sequential algorithm. %% SYNTAX%%  sM = som_seqtrain(sM,D);%  sM = som_seqtrain(sM,sD);%  sM = som_seqtrain(...,'argID',value,...);%  sM = som_seqtrain(...,value,...);%  [sM,sT] = som_seqtrain(M,D,...);%% DESCRIPTION%% Trains the given SOM (sM or M above) with the given training data% (sD or D) using sequential SOM training algorithm. If no optional% arguments (argID, value) are given, a default training is done, the% parameters are obtained from SOM_TRAIN_STRUCT function. Using% optional arguments the training parameters can be specified. Returns% the trained and updated SOM and a train struct which contains% information on the training.%% REFERENCES%% Kohonen, T., "Self-Organizing Map", 2nd ed., Springer-Verlag, %    Berlin, 1995, pp. 78-82.% Kohonen, T., "Clustering, Taxonomy, and Topological Maps of%    Patterns", International Conference on Pattern Recognition%    (ICPR), 1982, pp. 114-128.% Kohonen, T., "Self-Organized formation of topologically correct%    feature maps", Biological Cybernetics 43, 1982, pp. 59-69.%% REQUIRED INPUT ARGUMENTS%%  sM          The map to be trained. %     (struct) map struct%     (matrix) codebook matrix (field .data of map struct)%              Size is either [munits dim], in which case the map grid %              dimensions (msize) should be specified with optional arguments,%              or [msize(1) ... msize(k) dim] in which case the map %              grid dimensions are taken from the size of the matrix. %              Lattice, by default, is 'rect' and shape 'sheet'.%  D           Training data.%     (struct) data struct%     (matrix) data matrix, size [dlen dim]%  % OPTIONAL INPUT ARGUMENTS %%  argID (string) Argument identifier string (see below).%  value (varies) Value for the argument (see below).%%  The optional arguments can be given as 'argID',value -pairs. If an%  argument is given value multiple times, the last one is%  used. The valid IDs and corresponding values are listed below. The values %  which are unambiguous (marked with '*') can be given without the %  preceeding argID.%%   'mask'       (vector) BMU search mask, size dim x 1. Default is %                         the one in sM (field '.mask') or a vector of%                         ones if only a codebook matrix was given.%   'msize'      (vector) map grid dimensions. Default is the one%                         in sM (field sM.topol.msize) or %                         'si = size(sM); msize = si(1:end-1);' %                         if only a codebook matrix was given. %   'radius'     (vector) neighborhood radius %                         length = 1: radius_ini = radius%                         length = 2: [radius_ini radius_fin] = radius%                         length > 2: the vector given neighborhood%                                     radius for each step separately%                                     trainlen = length(radius)%   'radius_ini' (scalar) initial training radius%   'radius_fin' (scalar) final training radius%   'alpha'      (vector) learning rate%                         length = 1: alpha_ini = alpha%                         length > 1: the vector gives learning rate%                                     for each step separately%                                     trainlen is set to length(alpha)%                                     alpha_type is set to 'user defined'%   'alpha_ini'  (scalar) initial learning rate%   'tracking'   (scalar) tracking level: 0, 1 (default), 2 or 3%                         0 - estimate time %                         1 - track time and quantization error %                         2 - plot quantization error%                         3 - plot quantization error and two first %                             components %   'trainlen'   (scalar) training length (see also 'tlen_type')%   'trainlen_type' *(string) is the trainlen argument given in 'epochs'%                         or in 'samples'. Default is 'epochs'.%   'sample_order'*(string) is the sample order 'random' (which is the %                         the default) or 'ordered' in which case%                         samples are taken in the order in which they %                         appear in the data set%   'train'     *(struct) train struct, parameters for training. %                         Default parameters, unless specified, %                         are acquired using SOM_TRAIN_STRUCT (this %                         also applies for 'trainlen', 'alpha_type',%                         'alpha_ini', 'radius_ini' and 'radius_fin').%   'sTrain', 'som_train' (struct) = 'train'%   'neigh'     *(string) The used neighborhood function. Default is %                         the one in sM (field '.neigh') or 'gaussian'%                         if only a codebook matrix was given. Other %                         possible values is 'cutgauss', 'ep' and 'bubble'.%   'topol'     *(struct) topology of the map. Default is the one%                         in sM (field '.topol').%   'sTopol', 'som_topol' (struct) = 'topol'%   'alpha_type'*(string) learning rate function, 'inv', 'linear' or 'power'%   'lattice'   *(string) map lattice. Default is the one in sM%                         (field sM.topol.lattice) or 'rect' %                         if only a codebook matrix was given. %   'shape'     *(string) map shape. Default is the one in sM%                         (field sM.topol.shape) or 'sheet' %                         if only a codebook matrix was given. %   % OUTPUT ARGUMENTS% %  sM          the trained map%     (struct) if a map struct was given as input argument, a %              map struct is also returned. The current training %              is added to the training history (sM.trainhist).%              The 'neigh' and 'mask' fields of the map struct%              are updated to match those of the training.%     (matrix) if a matrix was given as input argument, a matrix%              is also returned with the same size as the input %              argument.%  sT (struct) train struct; information of the accomplished training%  % EXAMPLES%% Simplest case:%  sM = som_seqtrain(sM,D);  %  sM = som_seqtrain(sM,sD);  %% To change the tracking level, 'tracking' argument is specified:%  sM = som_seqtrain(sM,D,'tracking',3);%% The change training parameters, the optional arguments 'train', % 'neigh','mask','trainlen','radius','radius_ini', 'radius_fin', % 'alpha', 'alpha_type' and 'alpha_ini' are used. %  sM = som_seqtrain(sM,D,'neigh','cutgauss','trainlen',10,'radius_fin',0);%% Another way to specify training parameters is to create a train struct:%  sTrain = som_train_struct(sM,'dlen',size(D,1),'algorithm','seq');%  sTrain = som_set(sTrain,'neigh','cutgauss');%  sM = som_seqtrain(sM,D,sTrain);%% By default the neighborhood radius goes linearly from radius_ini to% radius_fin. If you want to change this, you can use the 'radius' argument% to specify the neighborhood radius for each step separately:%  sM = som_seqtrain(sM,D,'radius',[5 3 1 1 1 1 0.5 0.5 0.5]);%% By default the learning rate (alpha) goes from the alpha_ini to 0% along the function defined by alpha_type. If you want to change this, % you can use the 'alpha' argument to specify the learning rate% for each step separately: %  alpha = 0.2*(1 - log([1:100]));%  sM = som_seqtrain(sM,D,'alpha',alpha);%% You don't necessarily have to use the map struct, but you can operate% directly with codebook matrices. However, in this case you have to% specify the topology of the map in the optional arguments. The% following commads are identical (M is originally a 200 x dim sized matrix):%  M = som_seqtrain(M,D,'msize',[20 10],'lattice','hexa','shape','cyl');%%  M = som_seqtrain(M,D,'msize',[20 10],'hexa','cyl');%%  sT= som_set('som_topol','msize',[20 10],'lattice','hexa','shape','cyl');%  M = som_seqtrain(M,D,sT);%%  M = reshape(M,[20 10 dim]);%  M = som_seqtrain(M,D,'hexa','cyl');%% The som_seqtrain also returns a train struct with information on the % accomplished training. This is the same one as is added to the end of the % trainhist field of map struct, in case a map struct is given.%  [M,sTrain] = som_seqtrain(M,D,'msize',[20 10]);%%  [sM,sTrain] = som_seqtrain(sM,D); % sM.trainhist{end}==sTrain%% SEE ALSO% %  som_make         Initialize and train a SOM using default parameters.%  som_batchtrain   Train SOM with batch algorithm.%  som_train_struct Determine default training parameters.% Copyright (c) 1997-2000 by the SOM toolbox programming team.% http://www.cis.hut.fi/projects/somtoolbox/% Version 1.0beta juuso 220997% Version 2.0beta juuso 101199 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Check argumentserror(nargchk(2, Inf, nargin));  % check the number of input arguments% map struct_mode = isstruct(sMap);if struct_mode,   sTopol = sMap.topol;else    orig_size = size(sMap);  if ndims(sMap) > 2,     si = size(sMap); dim = si(end); msize = si(1:end-1);    M = reshape(sMap,[prod(msize) dim]);  else    msize = [orig_size(1) 1];     dim = orig_size(2);  end  sMap   = som_map_struct(dim,'msize',msize);  sTopol = sMap.topol;end[munits dim] = size(sMap.codebook);% dataif isstruct(D),   data_name = D.name;   D = D.data; else   data_name = inputname(2); endD = D(find(sum(isnan(D),2) < dim),:); % remove empty vectors from the data[dlen ddim] = size(D);                % check input dimensionif dim ~= ddim, error('Map and data input space dimensions disagree.'); end% vararginsTrain = som_set('som_train','algorithm','seq','neigh', ...		 sMap.neigh,'mask',sMap.mask,'data_name',data_name);

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩午夜在线播放| 7777精品久久久大香线蕉| 一区二区三区中文字幕精品精品| 国产福利电影一区二区三区| 久久久国际精品| 欧美在线观看禁18| 经典三级视频一区| 一区二区三区在线观看欧美| 精品国产青草久久久久福利| 99热精品国产| 久久不见久久见免费视频7| 国产精品美女久久久久久久| 欧美妇女性影城| 成人午夜在线播放| 日韩av一区二区三区四区| 精品美女一区二区| 色成人在线视频| 久久国产精品99久久人人澡| 亚洲乱码国产乱码精品精98午夜| 日韩一区二区免费高清| 97成人超碰视| 国产乱码精品一区二区三| 亚洲一区二区美女| 国产欧美视频一区二区| 在线播放一区二区三区| 99在线精品免费| 狠狠色丁香婷综合久久| 亚洲高清三级视频| **欧美大码日韩| 2019国产精品| 欧美日韩国产一级| 成人激情午夜影院| 国产乱子伦一区二区三区国色天香 | 欧美三级日韩三级国产三级| 国产精品资源站在线| 日本视频一区二区三区| 亚洲综合清纯丝袜自拍| 中文字幕日韩精品一区| 国产网站一区二区三区| 欧美日韩在线精品一区二区三区激情| 国产福利一区二区三区视频在线| 美女网站色91| 日韩中文欧美在线| 亚洲无线码一区二区三区| 欧美tk丨vk视频| 欧美久久久久中文字幕| 欧美性大战xxxxx久久久| 91免费在线视频观看| 成人一区二区视频| 懂色一区二区三区免费观看| 国内国产精品久久| 韩国三级电影一区二区| 麻豆国产欧美日韩综合精品二区| 丝袜脚交一区二区| 日韩一区欧美二区| 日韩电影在线免费看| 亚洲成人免费电影| 国产精品伦一区| 国产精品成人一区二区艾草 | 一区二区三区日韩精品视频| 亚洲欧美日韩在线播放| 亚洲靠逼com| 亚洲在线免费播放| 亚洲在线观看免费视频| 性久久久久久久久| 亚洲国产精品影院| 亚洲一区二区在线观看视频| 一区二区三区高清不卡| 亚洲一区二区三区不卡国产欧美| 亚洲一区二区三区四区中文字幕| 亚洲最大成人综合| 五月综合激情网| 欧美bbbbb| 国产精品自拍一区| 99精品国产热久久91蜜凸| 一本到三区不卡视频| 欧美亚洲综合久久| 欧美日韩国产美女| 日韩一二三区视频| 久久伊99综合婷婷久久伊| 国产性色一区二区| 亚洲人123区| 亚洲成人免费电影| 激情小说亚洲一区| aaa亚洲精品| 欧亚洲嫩模精品一区三区| 欧美中文字幕亚洲一区二区va在线 | 亚洲成人免费观看| 免费观看成人鲁鲁鲁鲁鲁视频| 亚洲成人免费av| 狠狠网亚洲精品| 91在线观看美女| 欧美日本在线一区| 国产亚洲一区二区三区| 伊人色综合久久天天| 日韩黄色免费网站| 国产成人精品免费| 欧美另类videos死尸| 久久青草国产手机看片福利盒子| 中文字幕一区二区三区在线观看| 亚洲午夜国产一区99re久久| 久久精品国产99国产| 国产一区二区视频在线| 国产精品夜夜嗨| 欧美三日本三级三级在线播放| 精品国产露脸精彩对白| 亚洲色图在线视频| 韩国女主播成人在线| 91麻豆国产在线观看| 日韩欧美成人一区二区| 综合久久一区二区三区| 美女网站色91| 欧美自拍偷拍午夜视频| 国产视频一区在线播放| 日日摸夜夜添夜夜添国产精品 | 激情综合一区二区三区| 色综合久久久久久久| 精品1区2区在线观看| 亚洲精品伦理在线| 极品少妇一区二区| 欧美日韩在线综合| 最新国产成人在线观看| 久久99久久精品| 欧美日韩高清一区二区三区| 亚洲欧洲日韩一区二区三区| 极品销魂美女一区二区三区| 欧美日韩一区二区欧美激情| 国产精品久久久久aaaa| 毛片av一区二区三区| 欧美在线色视频| 国产精品国产精品国产专区不蜜| 精品在线免费视频| 成人小视频免费在线观看| 久久综合久久鬼色中文字| 亚洲精品写真福利| 国产专区综合网| 欧美一区二区三区的| 一区二区三区蜜桃网| 成人av动漫网站| 国产亚洲人成网站| 日韩福利电影在线| 色哟哟精品一区| 最近日韩中文字幕| fc2成人免费人成在线观看播放| 久久综合成人精品亚洲另类欧美| 一区二区三区在线不卡| 成人激情动漫在线观看| 精品国产一区二区三区久久影院| 日本不卡在线视频| 91精品国产综合久久精品app| 亚洲午夜精品一区二区三区他趣| 一本大道久久a久久综合婷婷| 亚洲丝袜自拍清纯另类| 成人a级免费电影| 国产日韩欧美一区二区三区综合| 日本va欧美va精品发布| 欧美美女喷水视频| 日本成人在线电影网| 日韩欧美久久久| 狠狠色狠狠色综合系列| 久久色视频免费观看| 狠狠狠色丁香婷婷综合久久五月| 日韩精品一区二区三区老鸭窝| 奇米色一区二区| 欧美视频一区二区三区四区| 欧美日韩精品一区二区在线播放 | 午夜精品久久久久久久蜜桃app| 欧美日本在线播放| 国产一区二区三区不卡在线观看| 国产精品情趣视频| 欧美日本在线播放| 国产成人综合网| 亚洲资源中文字幕| 欧美精品一区男女天堂| 99视频精品在线| 日韩高清在线电影| 国产欧美精品在线观看| 欧美性欧美巨大黑白大战| 精品一区二区三区在线观看国产| 国产精品欧美精品| 91麻豆精品国产自产在线| 国产传媒欧美日韩成人| 亚洲国产综合91精品麻豆| 久久精品一区四区| 欧洲色大大久久| 国产成人综合亚洲91猫咪| 亚洲国产三级在线| 久久综合色播五月| 欧美视频一区二区三区在线观看| 国产成人综合视频| 午夜精品国产更新| 亚洲欧洲精品一区二区精品久久久 | 久久精品国产久精国产爱| 自拍偷自拍亚洲精品播放| 日韩一区二区在线播放| 91蜜桃在线免费视频| 精品一区二区三区在线播放视频| 一区二区三区中文字幕电影| 国产视频在线观看一区二区三区| 制服丝袜国产精品|