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

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

?? som_demo3.m

?? it is matlab code , som(slef organizing map) tool for matlab
?? M
?? 第 1 頁 / 共 2 頁
字號:
pause % Strike any key to continue...%    Besides SOM_SHOW and SOM_CPLANE, there are three other%    functions specifically designed for showing the values of the %    component planes: SOM_PIEPLANE, SOM_BARPLANE, SOM_PLOTPLANE. %    SOM_PIEPLANE shows a single pie chart for each map unit.  Each%    pie shows the relative proportion of each component of the sum of%    all components in that map unit. The component values must be%    positive. %    SOM_BARPLANE shows a barchart in each map unit. The scaling of %    bars can be made unit-wise or variable-wise. By default it is%    determined variable-wise.%    SOM_PLOTPLANE shows a linegraph in each map unit. M = som_normalize(sM.codebook,'range'); subplot(1,3,1)som_pieplane(sM, M);title('som\_pieplane')subplot(1,3,2)som_barplane(sM, M, '', 'unitwise');title('som\_barplane')subplot(1,3,3)som_plotplane(sM, M, 'b');title('som\_plotplane')pause % Strike any key to visualize cluster properties...clfclc%    2. VISUALIZATION OF COMPONENTS: CLUSTERS%    ========================================%    An interesting question is of course how do the values of the%    variables relate to the clusters: what are the values of the%    components in the clusters, and which components are the ones%    which *make* the clusters.som_show(sM)%    From the U-matrix and component planes, one can easily see%    what the typical values are in each cluster. pause % Strike any key to continue...%    The significance of the components with respect to the clustering%    is harder to visualize. One indication of importance is that on%    the borders of the clusters, values of important variables change%    very rabidly.%    Here, the distance matrix is calculated with respect to each%    variable. u1 = som_umat(sM,'mask',[1 0 0]'); u1=u1(1:2:size(u1,1),1:2:size(u1,2));u2 = som_umat(sM,'mask',[0 1 0]'); u2=u2(1:2:size(u2,1),1:2:size(u2,2));u3 = som_umat(sM,'mask',[0 0 1]'); u3=u3(1:2:size(u3,1),1:2:size(u3,2));%    Here, the distance matrices are shown, as well as a piechart%    indicating the relative importance of each variable in each%    map unit. The size of piecharts has been scaled by the%    distance matrix calculated from all components.subplot(2,2,1)som_cplane(sM,u1(:));title(sM.comp_names{1})subplot(2,2,2)som_cplane(sM,u2(:));title(sM.comp_names{2})subplot(2,2,3)som_cplane(sM,u3(:));title(sM.comp_names{3})subplot(2,2,4)som_pieplane(sM, [u1(:), u2(:), u3(:)], hsv(3), Um(:)/max(Um(:)));title('Relative importance')%    From the last subplot, one can see that in the area where the%    bigger cluster border is, the 'X-coord' component (red color)%    has biggest effect, and thus is the main factor in separating%    that cluster from the rest.pause % Strike any key to learn about correlation hunting...clfclc%    2. VISUALIZATION OF COMPONENTS: CORRELATION HUNTING%    ===================================================%    Finally, the component planes are often used for correlation%    hunting. When the number of variables is high, the component%    plane visualization offers a convenient way to visualize all%    components at once and hunt for correlations (as opposed to%    N*(N-1)/2 scatterplots).%    Hunting correlations this way is not very accurate. However, it%    is easy to select interesting combinations for further%    investigation.%    Here, the first and third components are shown with scatter%    plot. As with projections, a color coding is used to link the%    visualization to the map plane. In the color coding, size shows%    the distance matrix information.C = som_colorcode(sM);subplot(1,2,1)som_cplane(sM,C,1-Um(:)/max(Um(:)));title('Color coding + distance matrix')subplot(1,2,2)som_grid(sM,'Coord',sM.codebook(:,[1 3]),'MarkerColor',C);title('Scatter plot'); xlabel(sM.comp_names{1}); ylabel(sM.comp_names{3})axis equalpause % Strike any key to visualize data responses...clfclc%    3. DATA ON MAP%    ==============%    The SOM is a map of the data manifold. An interesting question%    then is where on the map a specific data sample is located, and%    how accurate is that localization? One is interested in the%    response of the map to the data sample. %    The simplest answer is to find the BMU of the data sample.%    However, this gives no indication of the accuracy of the%    match. Is the data sample close to the BMU, or is it actually%    equally close to the neighboring map units (or even approximately%    as close to all map units)? Sometimes accuracy doesn't really%    matter, but if it does, it should be visualized somehow.%    Here are different kinds of response visualizations for two%    vectors: [0 0 0] and [99 99 99]. %     - BMUs indicated with labels       %     - BMUs indicated with markers, relative quantization errors%       (in this case, proportion between distances to BMU and %       Worst-MU) with vertical lines%     - quantization error between the samples and all map units %     - fuzzy response (a non-linear function of quantization%       error) of all map unitsecho off[bm,qe] = som_bmus(sM,[0 0 0; 99 99 99],'all'); % distance to all map units[dummy,ind] = sort(bm(1,:)); d0 = qe(1,ind)'; [dummy,ind] = sort(bm(2,:)); d9 = qe(2,ind)'; bmu0 = bm(1,1); bmu9 = bm(2,1); % bmush0 = zeros(prod(sM.topol.msize),1); h0(bmu0) = 1; % crisp hitsh9 = zeros(prod(sM.topol.msize),1); h9(bmu9) = 1; lab = cell(prod(sM.topol.msize),1); lab{bmu0} = '[0,0,0]'; lab{bmu9} = '[99,99,99]';hf0 = som_hits(sM,[0 0 0],'fuzzy'); % fuzzy responsehf9 = som_hits(sM,[99 99 99],'fuzzy'); som_show(sM,'umat',{'all','BMU'},...	 'color',{d0,'Qerror 0'},'color',{hf0,'Fuzzy response 0'},...	 'empty','BMU+qerror',...	 'color',{d9,'Qerror 99'},'color',{hf9,'Fuzzy response 99'});	 som_show_add('label',lab,'Subplot',1,'Textcolor','r');som_show_add('hit',[h0, h9],'Subplot',4,'MarkerColor','r');hold onCo = som_vis_coords(sM.topol.lattice,sM.topol.msize);plot3(Co(bmu0,[1 1]),Co(bmu0,[2 2]),[0 10*qe(1,1)/qe(1,end)],'r-')plot3(Co(bmu9,[1 1]),Co(bmu9,[2 2]),[0 10*qe(2,1)/qe(2,end)],'r-')view(3), axis equalecho on%    Here are the distances to BMU, 2-BMU and WMU:qe(1,[1,2,end]) % [0 0 0]qe(2,[1,2,end]) % [99 99 99]%    One can see that for [0 0 0] the accuracy is pretty good as the%    quantization error of the BMU is much lower than that of the%    WMU. On the other hand [99 99 99] is very far from the map:%    distance to BMU is almost equal to distance to WMU.pause % Strike any key to visualize responses of multiple samples...clcclf%    3. DATA ON MAP: HIT HISTOGRAMS%    ==============================%    One can also investigate whole data sets using the map. When the%    BMUs of multiple data samples are aggregated, a hit histogram%    results. Instead of BMUs, one can also aggregate for example%    fuzzy responses.%    The hit histograms (or aggregated responses) can then be compared%    with each other. %    Here are hit histograms of three data sets: one with 50 first%    vectors of the data set, one with 150 samples from the data%    set, and one with 50 randomly selected samples. In the last%    subplot, the fuzzy response of the first data set.dlen = size(sD.data,1);Dsample1 = sD.data(1:50,:); h1 = som_hits(sM,Dsample1); Dsample2 = sD.data(1:150,:); h2 = som_hits(sM,Dsample2); Dsample3 = sD.data(ceil(rand(50,1)*dlen),:); h3 = som_hits(sM,Dsample3); hf = som_hits(sM,Dsample1,'fuzzy');som_show(sM,'umat','all','umat','all','umat','all','color',{hf,'Fuzzy'})som_show_add('hit',h1,'Subplot',1,'Markercolor','r')som_show_add('hit',h2,'Subplot',2,'Markercolor','r')som_show_add('hit',h3,'Subplot',3,'Markercolor','r')pause % Strike any key to visualize trajectories...clcclf%    3. DATA ON MAP: TRAJECTORIES%    ============================%    A special data mapping technique is trajectory. If the samples%    are ordered, forming a time-series for example, their response on%    the map can be tracked. The function SOM_SHOW_ADD can be used to%    show the trajectories in two different modes: 'traj' and 'comet'.%    Here, a series of data points is formed which go from [8,0,0]%    to [2,2,2]. The trajectory is plotted using the two modes.Dtraj = [linspace(9,2,20); linspace(0,2,20); linspace(0,2,20)]';T = som_bmus(sM,Dtraj);som_show(sM,'comp',[1 1]);som_show_add('traj',T,'Markercolor','r','TrajColor','r','subplot',1);som_show_add('comet',T,'MarkerColor','r','subplot',2);%    There's also a function SOM_TRAJECTORY which lauches a GUI%    specifically designed for displaying trajectories (in 'comet'%    mode).pause % Strike any key to learn about color handling...clcclf%    COLOR HANDLING%    ==============%    Matlab offers flexibility in the colormaps. Using the COLORMAP%    function, the colormap may be changed. There are several useful%    colormaps readily available, for example 'hot' and 'jet'. The%    default number of colors in the colormaps is 64. However, it is%    often advantageous to use less colors in the colormap. This way%    the components planes visualization become easier to interpret.%    Here the three component planes are visualized using the 'hot'%    colormap and only three colors.som_show(sM,'comp',[1 2 3])colormap(hot(3));som_recolorbar pause % Press any key to change the colorbar labels...%     The function SOM_RECOLORBAR can be used to reconfigure%     the labels beside the colorbar. %     Here the colorbar of the first subplot is labeled using labels%     'small', 'medium' and 'big' at values 0, 1 and 2.  For the%     colorbar of the second subplot, values are calculated for the%     borders between colors.som_recolorbar(1,{[0 4 9]},'',{{'small','medium','big'}});som_recolorbar(2,'border','');pause % Press any key to learn about SOM_NORMCOLOR...%     Some SOM Toolbox functions do not use indexed colors if the%     underlying Matlab function (e.g. PLOT) do not use indexed%     colors. SOM_NORMCOLOR is a convenient function to simulate%     indexed colors: it calculates fixed RGB colors that%     are similar to indexed colors with the specified colormap. %     Here, two SOM_GRID visualizations are created. One uses the%     'surf' mode to show the component colors in indexed color%     mode, and the other uses SOM_NORMALIZE to do the same. clfcolormap(jet(64))subplot(1,2,1)som_grid(sM,'Surf',sM.codebook(:,3));title('Surf mode')subplot(1,2,2)som_grid(sM,'Markercolor',som_normcolor(sM.codebook(:,3)));title('som\_normcolor')pause % Press any key to visualize different map shapes...clcclf%    DIFFERENT MAP SHAPES%    ====================%    There's no direct way to visualize cylinder or toroid maps. When%    visualized, they are treated exactly as if they were sheet%    shaped. However, if function SOM_UNIT_COORDS is used to provide%    unit coordinates, then SOM_GRID can be used to visualize these%    alternative map shapes.%    Here the grids of the three possible map shapes (sheet, cylinder%    and toroid) are visualized. The last subplot shows a component %    plane visualization of the toroid map.Cor = som_unit_coords(sM.topol.msize,'hexa','sheet');Coc = som_unit_coords(sM.topol.msize,'hexa','cyl');Cot = som_unit_coords(sM.topol.msize,'hexa','toroid');subplot(2,2,1)som_grid(sM,'Coord',Cor,'Markersize',3,'Linecolor','k');title('sheet'), view(0,-90), axis tight, axis equalsubplot(2,2,2)som_grid(sM,'Coord',Coc,'Markersize',3,'Linecolor','k');title('cylinder'), view(5,1), axis tight, axis equalsubplot(2,2,3)som_grid(sM,'Coord',Cot,'Markersize',3,'Linecolor','k');title('toroid'), view(-100,0), axis tight, axis equalsubplot(2,2,4)som_grid(sM,'Coord',Cot,'Surf',sM.codebook(:,3));colormap(jet), colorbartitle('toroid'), view(-100,0), axis tight, axis equalecho off

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
不卡视频一二三| 丰满少妇在线播放bd日韩电影| 日韩精品中文字幕一区| 国产激情一区二区三区四区| 无码av免费一区二区三区试看| 亚洲国产精品激情在线观看| 欧美日韩成人在线| 91国模大尺度私拍在线视频| 成年人午夜久久久| 欧美日韩美少妇| 国产精品高潮呻吟久久| xf在线a精品一区二区视频网站| 欧美一卡2卡3卡4卡| 欧美在线综合视频| 欧美在线free| 国产精品亲子伦对白| 亚洲精品免费在线播放| 国产精品久久久久久妇女6080| 日本成人在线网站| 久久精品久久99精品久久| 日韩精品1区2区3区| 免费看欧美女人艹b| 久久国产精品区| 欧美久久久久免费| 久久久久久9999| 日韩理论片中文av| 一区二区三区在线观看国产 | 爽好久久久欧美精品| 国产毛片精品一区| 国产一区二区三区| 欧美一区二区三区人| 91.com在线观看| 国精产品一区一区三区mba视频| 国产精品自在在线| 波多野结衣欧美| 欧美综合久久久| 国产精品拍天天在线| 国产精品1024| 国产精品少妇自拍| 99天天综合性| 一区二区三区精品| 91久久精品一区二区三| 亚洲午夜在线电影| 久久成人羞羞网站| 亚洲午夜成aⅴ人片| 91麻豆swag| 精品福利在线导航| 亚洲欧美另类图片小说| 日韩精品电影一区亚洲| 7777精品伊人久久久大香线蕉经典版下载 | 国产精品系列在线观看| 亚洲精品一区二区精华| 狠狠色综合播放一区二区| 精品99一区二区| 国产suv精品一区二区883| 中国色在线观看另类| 色嗨嗨av一区二区三区| 午夜精品123| 欧美va亚洲va| 亚洲mv在线观看| 不卡av在线网| 亚洲最大色网站| 日韩欧美在线1卡| 亚洲精品成人在线| 在线播放一区二区三区| 国产一区二区三区香蕉| 亚洲三级电影全部在线观看高清| 精品视频色一区| 樱花影视一区二区| 日韩欧美亚洲另类制服综合在线| 成人激情免费电影网址| 亚洲一区二区av在线| 色综合色狠狠综合色| 久久无码av三级| 色综合天天综合网国产成人综合天| 国产午夜精品福利| 国产精品99久久久久| 亚洲精品一二三区| 精品少妇一区二区三区日产乱码 | 色爱区综合激月婷婷| 五月婷婷另类国产| 国产亚洲欧美中文| 欧美日韩亚洲另类| 国产精品一区二区久久精品爱涩| 伊人性伊人情综合网| 欧美变态tickle挠乳网站| 91免费在线播放| 国产一区二区三区在线观看免费视频| 一区二区三区视频在线看| 久久色在线视频| 日韩精品中文字幕一区二区三区| 欧美偷拍一区二区| 香蕉乱码成人久久天堂爱免费| 国产精品素人视频| 69久久夜色精品国产69蝌蚪网| av资源站一区| 国产高清久久久久| 久久国产精品露脸对白| 91国模大尺度私拍在线视频| 国产91精品在线观看| 日韩黄色在线观看| 夜夜精品浪潮av一区二区三区| 国产欧美精品区一区二区三区| 国产a久久麻豆| 精品一区在线看| 欧美国产日韩亚洲一区| 欧美大片一区二区| 欧美久久久影院| 欧美美女一区二区| 91看片淫黄大片一级在线观看| 国产成人在线视频免费播放| 精品一区二区三区在线观看国产| 日本不卡一区二区三区| 亚洲综合久久av| 一区二区三区在线免费观看| 亚洲精品少妇30p| 亚洲日本中文字幕区| 国产精品乱人伦| 中文字幕二三区不卡| 国产精品久久网站| 国产精品国产三级国产普通话三级| 国产拍欧美日韩视频二区| 久久这里只精品最新地址| 日韩你懂的在线观看| 日韩西西人体444www| 日韩欧美国产高清| 欧美成人aa大片| 国产无人区一区二区三区| 国产色产综合产在线视频| 久久久久综合网| 国产精品免费视频观看| 国产精品家庭影院| 亚洲欧洲精品一区二区三区不卡| 欧美日韩另类一区| 制服丝袜亚洲色图| 欧美一区二区在线播放| 日韩精品专区在线影院重磅| 国产丝袜在线精品| 国产精品美女久久久久久久久 | 国产精品美女一区二区| 亚洲视频一区在线观看| 亚洲综合在线观看视频| 亚洲动漫第一页| 麻豆一区二区三区| 亚洲资源在线观看| 奇米色一区二区| 成人在线综合网站| 国产精品 欧美精品| 色综合一个色综合| 8x8x8国产精品| 国产精品麻豆久久久| 夜夜精品视频一区二区 | 精品久久久久久最新网址| 久久久久国产精品麻豆| 有坂深雪av一区二区精品| 久久精品av麻豆的观看方式| eeuss鲁片一区二区三区在线看| 欧美日韩国产欧美日美国产精品| 久久亚洲综合色一区二区三区| 亚洲视频一区二区在线观看| 久久99精品国产.久久久久| 成人av在线影院| 日韩欧美成人午夜| 亚洲欧美日韩国产另类专区| 久久99精品国产.久久久久久| 91极品美女在线| 久久精品亚洲一区二区三区浴池| 亚洲v中文字幕| 99国内精品久久| 色婷婷久久99综合精品jk白丝| 欧美电视剧在线观看完整版| 亚洲一区二区影院| 国产不卡在线一区| 日韩一区二区不卡| 一级中文字幕一区二区| 国产成人av一区二区三区在线观看| 欧美日韩三级视频| ...xxx性欧美| 国产成人综合精品三级| 欧美一级精品大片| 亚洲电影一级黄| 一本久久综合亚洲鲁鲁五月天| 337p日本欧洲亚洲大胆精品 | 欧美日韩国产一级片| 中文字幕精品在线不卡| 精品一区二区三区在线播放视频 | 亚洲福利视频导航| 成人av免费网站| 亚洲国产高清在线| 久草这里只有精品视频| 欧美日韩一卡二卡| 亚洲美女视频一区| 成人黄色电影在线| 国产日韩视频一区二区三区| 久久精品国产精品亚洲综合| 91超碰这里只有精品国产| 亚洲狠狠爱一区二区三区| 色哟哟国产精品| 亚洲人成精品久久久久| 99久久婷婷国产综合精品|