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

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

?? som_demo3.m

?? it is matlab code , som(slef organizing map) tool for matlab
?? M
?? 第 1 頁 / 共 2 頁
字號:
%SOM_DEMO3 Self-organizing map visualization.% Contributed to SOM Toolbox 2.0, February 11th, 2000 by Juha Vesanto% http://www.cis.hut.fi/projects/somtoolbox/% Version 1.0beta juuso 071197 % Version 2.0beta juuso 080200 070600clf reset;figure(gcf)echo onclc%    ==========================================================%    SOM_DEMO3 - VISUALIZATION%    ==========================================================%    som_show           - Visualize map.%    som_grid           - Visualization with free coordinates.%%    som_show_add       - Add markers on som_show visualization.%    som_show_clear     - Remove markers from som_show visualization.%    som_recolorbar     - Refresh and rescale colorbars in som_show %                         visualization.%%    som_cplane         - Visualize component/color/U-matrix plane.%    som_pieplane       - Visualize prototype vectors as pie charts.%    som_barplane       - Visualize prototype vectors as bar charts.%    som_plotplane      - Visualize prototype vectors as line graphs.%%    pcaproj            - Projection to principal component space.%    cca                - Projection with Curvilinear Component Analysis.%    sammon             - Projection with Sammon's mapping.%    som_umat           - Calculate U-matrix.%    som_colorcode      - Color coding for the map.%    som_normcolor      - RGB values of indexed colors.%    som_hits           - Hit histograms for the map.%    The basic functions for SOM visualization are SOM_SHOW and%    SOM_GRID. The SOM_SHOW has three auxiliary functions:%    SOM_SHOW_ADD, SOM_SHOW_CLEAR and SOM_RECOLORBAR which are used %    to add and remove markers and to control the colorbars.%    SOM_SHOW actually uses SOM_CPLANE to make the visualizations.%    Also SOM_{PIE,BAR,PLOT}PLANE can be used to visualize SOMs.%    The other functions listed above do not themselves visualize%    anything, but their results are used in the visualizations.    %    There's an important limitation that visualization functions have:%    while the SOM Toolbox otherwise supports N-dimensional map grids, %    visualization only works for 1- and 2-dimensional map grids!!!pause % Strike any key to create demo data and map...clc%    DEMO DATA AND MAP%    =================%    The data set contructed for this demo consists of random vectors%    in three gaussian kernels the centers of which are at [0, 0, 0],%    [3 3 3] and [9 0 0]. The map is trained using default parameters.D1 = randn(100,3);D2 = randn(100,3) + 3;D3 = randn(100,3); D3(:,1) = D3(:,1) + 9;sD = som_data_struct([D1; D2; D3],'name','Demo3 data',...		     'comp_names',{'X-coord','Y-coord','Z-coord'});sM = som_make(sD);%    Since the data (and thus the prototypes of the map) are%    3-dimensional, they can be directly plotted using PLOT3.%    Below, the data is plotted using red 'o's and the map%    prototype vectors with black '+'s.plot3(sD.data(:,1),sD.data(:,2),sD.data(:,3),'ro',...      sM.codebook(:,1),sM.codebook(:,2),sM.codebook(:,3),'k+')rotate3d on%    From the visualization it is pretty easy to see what the data is%    like, and how the prototypes have been positioned. One can see%    that there are three clusters, and that there are some prototype%    vectors between the clusters, although there is actually no%    data there. The map units corresponding to these prototypes%    are called 'dead' or 'interpolative' map units.pause % Strike any key to continue...clc%    VISUALIZATION OF MULTIDIMENSIONAL DATA%    ======================================%    Usually visualization of data sets is not this straightforward,%    since the dimensionality is much higher than three. In principle,%    one can embed additional information to the visualization by%    using properties other than position, for example color, size or%    shape.%    Here the data set and map prototypes are plotted again, but%    information of the cluster is shown using color: red for the%    first cluster, green for the second and blue for the last.plot3(sD.data(1:100,1),sD.data(1:100,2),sD.data(1:100,3),'ro',...      sD.data(101:200,1),sD.data(101:200,2),sD.data(101:200,3),'go',...      sD.data(201:300,1),sD.data(201:300,2),sD.data(201:300,3),'bo',...      sM.codebook(:,1),sM.codebook(:,2),sM.codebook(:,3),'k+')rotate3d on%    However, this works only for relatively small dimensionality, say%    less than 10. When the information is added this way, the%    visualization becomes harder and harder to understand. Also, not%    all properties are equal: the human visual system perceives%    colors differently from position, not to mention the complex%    rules governing perception of shape. pause % Strike any key to learn about linking...clc%    LINKING MULTIPLE VISUALIZATIONS%    ===============================%    The other option is to use *multiple visualizations*, so called%    small multiples, instead of only one. The problem is then how to%    link these visualizations together: one should be able to idetify%    the same object from the different visualizations.%    This could be done using, for example, color: each object has%    the same color in each visualization. Another option is to use %    similar position: each object has the same position in each%    small multiple.%    For example, here are four subplots, one for each component and%    one for cluster information, where color denotes the value and%    position is used for linking. The 2D-position is derived by%    projecting the data into the space spanned by its two greatest%    eigenvectors.[Pd,V,me] = pcaproj(sD.data,2);        % project the dataPm        = pcaproj(sM.codebook,V,me); % project the prototypescolormap(hot);                         % colormap used for valuesecho offfor c=1:3,   subplot(2,2,c), cla, hold on  som_grid('rect',[300 1],'coord',Pd,'Line','none',...	   'MarkerColor',som_normcolor(sD.data(:,c)));  som_grid(sM,'Coord',Pm,'Line','none','marker','+');  hold off, title(sD.comp_names{c}), xlabel('PC 1'), ylabel('PC 2');endsubplot(2,2,4), claplot(Pd(1:100,1),Pd(1:100,2),'ro',...     Pd(101:200,1),Pd(101:200,2),'go',...     Pd(201:300,1),Pd(201:300,2),'bo',...     Pm(:,1),Pm(:,2),'k+')title('Cluster')echo onpause % Strike any key to use color for linking...%    Here is another example, where color is used for linking. On the%    top right triangle are the scatter plots of each variable without%    color coding, and on the bottom left triangle with the color%    coding. In the colored figures, each data sample can be%    identified by a unique color. Well, almost identified: there are%    quite a lot of samples with almost the same color. Color is not as%    precise linking method as position.echo off Col = som_normcolor([1:300]',jet(300));k=1;for i=1:3,   for j=1:3,     if i<j, i1=i; i2=j; else i1=j; i2=i; end    if i<j,      subplot(3,3,k); cla      plot(sD.data(:,i1),sD.data(:,i2),'ko')      xlabel(sD.comp_names{i1}), ylabel(sD.comp_names{i2})    elseif i>j,      subplot(3,3,k); cla      som_grid('rect',[300 1],'coord',sD.data(:,[i1 i2]),...	       'Line','none','MarkerColor',Col);      xlabel(sD.comp_names{i1}), ylabel(sD.comp_names{i2})    end    k=k+1;  endendecho onpause % Strike any key to learn about data visualization using SOM...clc%    DATA VISUALIZATION USING SOM%    ============================%    The basic visualization functions and their usage have already%    been introduced in SOM_DEMO2. In this demo, a more structured%    presentation is given. %    Data visualization techniques using the SOM can be divided to%    three categories based on their goal:%     1. visualization of clusters and shape of the data:%        projections, U-matrices and other distance matrices%%     2. visualization of components / variables: %        component planes, scatter plots%%     3. visualization of data projections: %        hit histograms, response surfacespause % Strike any key to visualize clusters with distance matrices...clfclc%    1. VISUALIZATION OF CLUSTERS: DISTANCE MATRICES%    ===============================================%    Distance matrices are typically used to show the cluster%    structure of the SOM. They show distances between neighboring%    units, and are thus closely related to single linkage clustering%    techniques. The most widely used distance matrix technique is%    the U-matrix. %    Here, the U-matrix of the map is shown (using all three%    components in the distance calculation):colormap(1-gray)som_show(sM,'umat','all');pause % Strike any key to see more examples of distance matrices...%    The function SOM_UMAT can be used to calculate U-matrix.  The%    resulting matrix holds distances between neighboring map units,%    as well as the median distance from each map unit to its%    neighbors. These median distances corresponding to each map unit%    can be easily extracted. The result is a distance matrix using%    median distance.U = som_umat(sM);Um = U(1:2:size(U,1),1:2:size(U,2));%    A related technique is to assign colors to the map units such%    that similar map units get similar colors.%    Here, four clustering figures are shown: %     - U-matrix%     - median distance matrix (with grayscale)%     - median distance matrix (with map unit size)%     - similarity coloring, made by spreading a colormap%       on top of the principal component projection of the%       prototype vectorssubplot(2,2,1)h=som_cplane([sM.topol.lattice,'U'],sM.topol.msize, U(:)); set(h,'Edgecolor','none'); title('U-matrix')subplot(2,2,2)h=som_cplane(sM, Um(:));set(h,'Edgecolor','none'); title('D-matrix (grayscale)')subplot(2,2,3)som_cplane(sM,'none',1-Um(:)/max(Um(:)))title('D-matrix (marker size)')subplot(2,2,4)C = som_colorcode(Pm);  % Pm is the PC-projection calculated earliersom_cplane(sM,C)title('Similarity coloring')pause % Strike any key to visualize shape and clusters with projections...clfclc%    1. VISUALIZATION OF CLUSTERS AND SHAPE: PROJECTIONS%    ===================================================%    In vector projection, a set of high-dimensional data samples is%    projected to a lower dimensional such that the distances between%    data sample pairs are preserved as well as possible. Depending %    on the technique, the projection may be either linear or%    non-linear, and it may place special emphasis on preserving%    local distances. %    For example SOM is a projection technique, since the prototypes%    have well-defined positions on the 2-dimensional map grid. SOM as%    a projection is however a very crude one. Other projection%    techniques include the principal component projection used%    earlier, Sammon's mapping and Curvilinear Component Analysis%    (to name a few). These have been implemented in functions%    PCAPROJ, SAMMON and CCA. %    Projecting the map prototype vectors and joining neighboring map%    units with lines gives the SOM its characteristic net-like look.%    The projection figures can be linked to the map planes using%    color coding.%    Here is the distance matrix, color coding, a projection without%    coloring and a projection with one. In the last projection,%    the size of interpolating map units has been set to zero.subplot(2,2,1)som_cplane(sM,Um(:));title('Distance matrix')subplot(2,2,2)C = som_colorcode(sM,'rgb4');som_cplane(sM,C);title('Color code')subplot(2,2,3)som_grid(sM,'Coord',Pm,'Linecolor','k');title('PC-projection')subplot(2,2,4)h = som_hits(sM,sD); s=6*(h>0);som_grid(sM,'Coord',Pm,'MarkerColor',C,'Linecolor','k','MarkerSize',s);title('Colored PC-projection')pause % Strike any key to visualize component planes...clfclc%    2. VISUALIZATION OF COMPONENTS: COMPONENT PLANES%    ================================================%    The component planes visualizations shows what kind of values the%    prototype vectors of the map units have for different vector%    components.%    Here is the U-matrix and the three component planes of the map.som_show(sM)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
在线成人午夜影院| 日本女优在线视频一区二区| 福利一区二区在线观看| 欧美激情在线一区二区| 懂色av一区二区三区蜜臀| 中文字幕+乱码+中文字幕一区| 成人高清视频在线观看| 亚洲精品水蜜桃| 欧美狂野另类xxxxoooo| 久久精品99久久久| 国产三区在线成人av| 99re这里只有精品视频首页| 亚洲激情六月丁香| 欧美肥妇毛茸茸| 国产精品一级黄| 最新国产成人在线观看| 欧美日韩国产首页| 国内成人精品2018免费看| 日本一二三不卡| 欧美综合色免费| 麻豆专区一区二区三区四区五区| 精品国产乱码久久久久久夜甘婷婷 | 不卡欧美aaaaa| 亚洲精品久久7777| 日韩欧美在线观看一区二区三区| 国产麻豆精品久久一二三| 国产精品久久午夜夜伦鲁鲁| 精品视频资源站| 国内偷窥港台综合视频在线播放| 亚洲三级小视频| 欧美一区二区三区精品| 成人av影院在线| 日韩av一区二区在线影视| 欧美高清在线视频| 91精品国产品国语在线不卡| www.一区二区| 久久国产三级精品| 1000部国产精品成人观看| 日韩免费看网站| 色婷婷综合激情| 国产福利一区二区三区| 午夜视黄欧洲亚洲| 亚洲欧美另类久久久精品2019| 欧美成人女星排行榜| 欧美色综合天天久久综合精品| 国产精品1区2区3区在线观看| 亚洲超碰97人人做人人爱| 欧美国产一区二区| 日韩视频永久免费| 在线观看www91| 99久久伊人久久99| 国产一区在线精品| 日韩精品一二区| 亚洲伊人色欲综合网| 中日韩免费视频中文字幕| 日韩小视频在线观看专区| 在线观看网站黄不卡| av成人老司机| 成人av免费网站| 国产精品一区久久久久| 精品一区二区久久久| 亚欧色一区w666天堂| 亚洲精品中文在线| 国产精品久久久久9999吃药| 精品国产髙清在线看国产毛片| 欧美日韩中字一区| 欧美中文字幕一区二区三区 | 亚洲自拍与偷拍| 亚洲色图20p| 国产精品久久久一本精品 | 欧美一区二区女人| 欧美精品 日韩| 欧美日韩中文一区| 91传媒视频在线播放| caoporn国产精品| 成人激情动漫在线观看| 国产白丝精品91爽爽久久| 国产一区二区三区免费看| 精品综合久久久久久8888| 久久精品国产秦先生| 久久精品噜噜噜成人av农村| 免费精品视频最新在线| 五月激情综合网| 日本成人超碰在线观看| 免费精品99久久国产综合精品| 国产伦理精品不卡| 久久国产福利国产秒拍| 激情成人综合网| 国产成人综合自拍| 粉嫩一区二区三区性色av| 成人性色生活片免费看爆迷你毛片| 国产精品亚洲综合一区在线观看| 国产成人一区在线| www.av精品| 欧美视频在线观看一区| 欧美一区二区三区视频免费播放| 日韩丝袜情趣美女图片| 2020国产精品自拍| 中文字幕巨乱亚洲| 亚洲小说欧美激情另类| 麻豆免费看一区二区三区| 韩国成人福利片在线播放| 成人综合激情网| 色婷婷综合久久久久中文 | 亚洲精品久久久蜜桃| 五月天中文字幕一区二区| 免费观看日韩电影| 成人久久18免费网站麻豆| 在线影院国内精品| 精品久久久久久亚洲综合网| 国产精品网站在线| 亚洲电影一区二区三区| 久久精品国产精品亚洲精品| 国产成人超碰人人澡人人澡| 91福利在线免费观看| www国产亚洲精品久久麻豆| 亚洲欧美韩国综合色| 麻豆高清免费国产一区| 99视频在线观看一区三区| 3d动漫精品啪啪1区2区免费| 日本一区二区视频在线观看| 亚洲成人1区2区| 国产成人免费视频网站| 欧美日韩三级一区| 国产精品视频看| 奇米精品一区二区三区在线观看| av一区二区久久| 精品久久国产97色综合| 日韩美女精品在线| 久久不见久久见免费视频1| 一本色道久久综合亚洲精品按摩| 91精品国产综合久久久久久漫画 | 精品国产一区二区三区忘忧草 | 26uuu国产电影一区二区| 一区二区三区久久| 国产一区二三区| 欧美日韩亚洲综合一区 | 色婷婷综合久久久久中文 | 日本免费新一区视频| 99精品国产一区二区三区不卡| 欧美一区二区大片| 亚洲图片欧美色图| 成人免费视频视频| 欧美不卡在线视频| 午夜激情一区二区三区| 91丨九色丨蝌蚪富婆spa| 国产亚洲一二三区| 免费在线成人网| 欧美精品日韩综合在线| 亚洲欧美电影一区二区| 粉嫩嫩av羞羞动漫久久久| 26uuu亚洲综合色欧美| 天天综合天天综合色| 欧美在线综合视频| 亚洲欧美日韩国产成人精品影院 | 亚洲图片欧美综合| 色综合激情五月| 亚洲欧洲成人自拍| 成人av网在线| 国产精品系列在线| 国产福利不卡视频| 久久精品网站免费观看| 免费人成网站在线观看欧美高清| 欧美精品乱人伦久久久久久| 亚洲一区免费观看| 在线观看91精品国产入口| 亚洲精品网站在线观看| 91麻豆蜜桃一区二区三区| 国产精品卡一卡二| www.一区二区| 蜜臀av国产精品久久久久| 欧美日韩精品一区二区三区四区| 亚洲欧美日韩国产手机在线| 色综合久久天天| 亚洲成人一区在线| 欧美日韩精品一区二区三区蜜桃 | 欧美日韩久久一区| 日韩高清国产一区在线| 欧美疯狂性受xxxxx喷水图片| 五月天欧美精品| 91精品国产综合久久蜜臀 | 日本不卡123| 欧美变态口味重另类| 国产一区二区在线影院| 国产色婷婷亚洲99精品小说| www.亚洲激情.com| 一区二区三区日韩欧美| 欧美日韩不卡一区二区| 麻豆视频一区二区| 国产欧美日韩中文久久| 99精品视频中文字幕| 亚洲成人在线免费| 2021国产精品久久精品| 成人av动漫在线| 亚洲午夜久久久久久久久电影院| 欧美一区二区啪啪| 丁香啪啪综合成人亚洲小说 | 午夜视频在线观看一区二区| 欧美一区二区三区公司| 成人久久久精品乱码一区二区三区 |