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

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

?? plot_ras.m

?? matlab/e,radial basis function
?? M
字號:
function plot_ras(data, methods, sizes, perfs, pvals, conf)%% Plots a Rasmussen diagram to compare different methods.%% Inputs are title (data), method names (methods), training% set sizes (sizes), performance figures (perfs), probabilities% (pvals) and a configuration structure (conf).%% For further details of the function see:%%  'Matlab Routines for RBF Networks', 1999.%% Initialise.prog = 'plot_ras';% Configuration spec.spec(1) = struct( ...  'comment', 'Width of figure (cms)', ...  'name', 'width', ...  'type', {{'number', 'positive'}}, ...  'options', [], ...  'default', 12);spec(2) = struct( ...  'comment', 'Height of figure (cms)', ...  'name', 'height', ...  'type', {{'number', 'positive'}}, ...  'options', [], ...  'default', 8);spec(3) = struct( ...  'comment', 'Title font size', ...  'name', 'tfs', ...  'type', {{'number', 'positive'}}, ...  'options', [], ...  'default', 14);spec(4) = struct( ...  'comment', 'Axis mark font size', ...  'name', 'afs', ...  'type', {{'number', 'positive'}}, ...  'options', [], ...  'default', 12);spec(5) = struct( ...  'comment', 'Model name font size', ...  'name', 'mfs', ...  'type', {{'number', 'positive'}}, ...  'options', [], ...  'default', 10);spec(6) = struct( ...  'comment', 'Pixels per centimeter', ...  'name', 'ppc', ...  'type', {{'number', 'positive'}}, ...  'options', [], ...  'default', 50);spec(7) = struct( ...  'comment', 'Error bar colours', ...  'name', 'ebc', ...  'type', 'string', ...  'options', [], ...  'default', 'k');spec(8) = struct( ...  'comment', 'Error bar sizes', ...  'name', 'ebs', ...  'type', {{'vector', 'positive', 'integer'}}, ...  'options', [], ...  'default', 1);spec(9) = struct( ...  'comment', 'Method name colours', ...  'name', 'mnc', ...  'type', 'string', ...  'options', [], ...  'default', 'k');spec(10) = struct( ...  'comment', 'Maximum scaled error', ...  'name', 'maxse', ...  'type', {{'number', 'positive'}}, ...  'options', [], ...  'default', []);% Check input argument(s).switch nargincase 0  error([prog ': illegal number of arguments'])case 1  % data should be the string 'conf'.  if isstring(data)    switch data    case 'conf'      % Take special action.      conf_print(prog, spec)      return    otherwise      % Error.      error([prog ': unrecognised string for single argument'])    end  else    % Error.    error([prog ': unrecognised type for single argument'])  endcase 2  % data should be 'conf' and methods should be a field name.  if isstring(data) & isstring(methods)    switch data    case 'conf'      % Take special action.      conf_print(prog, spec, methods)      return    otherwise      % Error.      error([prog ': unrecognised string for two arguments'])    end  else    % Error.    error([prog ': unrecognised types for two arguments'])  endcase 3  error([prog ': illegal number of arguments'])case 4  pvals = [];  conf = [];case 5  conf = [];end% Check the configuration is okay.conf = conf_check(conf, spec, prog);% Check the input arguments and establish dimensions.if ~isstring(data)  error([prog ': arg data needs to be a string'])endif ~iscell(methods) | ndims(methods) > 2 | min(size(methods)) ~= 1  error([prog ': arg methods needs to be a 1D cell array'])endfor m = 1:length(methods)  if ~isstring(methods{m})    error([prog ': component ' num2str(m) ' of arg methods is not a string'])  endendnmet = length(methods);if ~isnumeric(sizes) | ndims(sizes) > 2 | min(size(sizes)) ~= 1  error([prog ': arg sizes needs to be a numeric vector'])endnsiz = length(sizes);if ~isnumeric(perfs) | ndims(perfs) ~= 3  error([prog ': arg perfs needs to be a 3D numeric matrix'])endif size(perfs,1) ~= nsiz  error([prog ': size(perfs,1) is inconsistent with the number of training set sizes'])endif size(perfs,2) ~= nmet  error([prog ': size(perfs,2) is inconsistent with the number of methods'])endif size(perfs,3) ~= 2  error([prog ': size(perfs,3) should be 2 (mean and standard deviation)'])endif ~isnumeric(pvals) | ndims(pvals) ~= 3  error([prog ': arg pvals needs to be a 3d numeric matrix'])endif size(pvals,1) ~= nsiz  error([prog ': size(pvals,1) is inconsistent with the number of training set sizes'])endif size(pvals,2) ~= nmet  error([prog ': size(pvals,2) is inconsistent with the number of methods'])endif size(pvals,3) ~= nmet  error([prog ': size(pvals,2) is inconsistent with the number of methods'])end% Get the figure.fconf.name = data;fconf.pos = [50 50];fconf.size = conf.ppc * [conf.width conf.height];fconf.psize = [conf.width conf.height];fig = get_fig(fconf);clfaxis offhold on% Where should the axes be placed?ax.x = 4 * conf.afs;ax.w = fconf.size(1) - round(1.2 * ax.x);ax.y = (nmet + 1) * conf.mfs + conf.afs/2;ax.h = fconf.size(2) - ax.y - 3 * conf.tfs;% Plot the x and y axis.plot([ax.x ax.x+ax.w], [ax.y ax.y], 'k-', 'LineWidth', 2)plot([ax.x ax.x], [ax.y ax.y+ax.h], 'k-', 'LineWidth', 2)% Plot title.t = text(ax.x+ax.w/2, ax.y+ax.h+15, data);set(t, 'FontUnits', 'pixels')set(t, 'FontSize', conf.tfs)set(t, 'FontName', 'Courier')p = get(t, 'Position');e = get(t, 'Extent');set(t, 'Position', [p(1)-e(3)/2 p(2)+1.5*e(4) p(3)])% Annotate the y-axis.jmpy = 0.1;tmk = max([1 round(ax.w/75)]); % Tick mark size.if isempty(conf.maxse)  maxp = ceil(max(max(perfs(:,:,1)+perfs(:,:,2)))/jmpy)*jmpy;else  maxp = ceil(conf.maxse/jmpy)*jmpy;endscaley = ax.h / maxp;if maxp > 1  jmpy = 0.2;endfor i = 0:jmpy:maxp  y = ax.y + scaley * i;  l = sprintf('%.1f', i);  t = text(ax.x, y, l);  set(t, 'FontUnits', 'pixels')  set(t, 'FontSize', conf.afs)  set(t, 'FontName', 'Courier')  p = get(t, 'Position');  e = get(t, 'Extent');  set(t, 'Position', [p(1)-e(3)-2*tmk,p(2),p(3)]);  if i == 0    plot([ax.x-tmk ax.x+tmk-1], [y y], 'k-', 'LineWidth', 2)  else    plot([ax.x-tmk ax.x+tmk-1], [y y], 'k-', 'LineWidth', 1)  endend% Margin width between columns for each case.margw = round(0.3 * ax.w / (nsiz + 1));% Column width for models and cases.modw = floor((ax.w - (nsiz + 1) * margw) / (nsiz * nmet));casew = modw * nmet;% Length of column below xaxis.cold = nmet * conf.mfs + conf.afs/2;% Annotate the top of the plot and draw column boundaries.x = ax.x + 2 * margw;for i = 1:nsiz  % Annotate.  t = text(x, ax.y+ax.h, num2str(sizes(i)));  set(t, 'FontUnits', 'pixels')  set(t, 'FontSize', conf.afs)  set(t, 'FontName', 'Courier')  p = get(t, 'Position');  e = get(t, 'Extent');  set(t, 'Position', [p(1)+(casew-e(3))/2,p(2)+e(4)/2,p(3)])  % Column boundaries.  plot([x x], [ax.y-cold ax.y+ax.h], 'k-')  plot([x+casew x+casew], [ax.y-cold ax.y+ax.h], 'k-')  plot([x x+casew], [ax.y+ax.h ax.y+ax.h], 'k-')  plot([x x+casew], [ax.y-cold ax.y-cold], 'k-')  % Increment x.  x = x + casew + margw;end% A handy constant.nmnc = length(conf.mnc);% Method labels.x = ax.x + 1.5 * margw;y = ax.y - conf.mfs/2 - conf.afs/2;for i = 1:nmet  method = traditional(methods{i});  t = text(x, y, method);  set(t, 'FontUnits', 'pixels')  set(t, 'FontSize', conf.mfs)  set(t, 'FontName', 'Courier')  set(t, 'Color', conf.mnc(rem(i-1,nmnc)+1))  p = get(t, 'Position');  e = get(t, 'Extent');  set(t, 'Position', [p(1)-e(3),p(2),p(3)])  y = y - conf.mfs;end% Some handy constants.nebc = length(conf.ebc);nebs = length(conf.ebs);% Arrow configuration.arw.y1 = ax.y + ax.h * 0.94;      % Bottom.arw.y2 = ax.y + ax.h * 0.99;      % Top.arw.hw = (arw.y2-arw.y1) * 0.25;  % Head width.arw.hh = (arw.y2-arw.y1) * 0.50;  % Head height.% Plot the performances.for c = 1:nsiz  x = ax.x + 2 * margw + (c - 1) * (casew + margw);  xm = x + modw/2;  for m = 1:nmet    y = ax.y + perfs(c,m,1) * scaley;    dy = perfs(c,m,2) * scaley;    y1 = max([ax.y y-dy]);    y2 = min([ax.y+ax.h y+dy]);    col = conf.ebc(rem(m-1,nebc)+1);    lnw = conf.ebs(rem(m-1,nebs)+1);    if y < ax.y+ax.h      % Plot error bars.      plot([x x+modw], [y y], [col '-'], 'LineWidth', lnw)      plot([xm xm], [y1 y2], [col '-'], 'LineWidth', lnw)    else      % Plot arrow.      plot([xm xm], [arw.y1 arw.y2], [col '-'], 'LineWidth', lnw)      plot([xm xm+arw.hw], [arw.y2 arw.y2-arw.hh], [col '-'], 'LineWidth', lnw)      plot([xm xm-arw.hw], [arw.y2 arw.y2-arw.hh], [col '-'], 'LineWidth', lnw)    end    x = x + modw;    xm = xm + modw;  endend% Plot the relative performances.for c = 1:nsiz  cx = ax.x + 2*margw + (c-1)*(casew+margw) + modw/2;  for m2 = 1:nmet    x = cx + (m2-1) * modw;    y = ax.y - conf.mfs/2 - conf.afs/2;    for m1 = 1:nmet      if m1 ~= m2        n = floor(100 * pvals(c, m1, m2));        if n < 10 & n >= 0          t = text(x, y, num2str(n));        else          t = text(x, y, '*');        end        set(t, 'FontUnits', 'pixels')        set(t, 'FontSize', conf.mfs)        set(t, 'FontName', 'Courier')        p = get(t, 'Position');        e = get(t, 'Extent');        set(t, 'Position', [p(1)-e(3)/3,p(2),p(3)]);      end      y = y - conf.mfs;    end  endendfunction name = traditional(name)%% Replaces '_' with '-' for traditional DELVE names.%% Character to replace with.trad = '-';% Deal with underlines.undr = find(name == '_');name(undr) = trad(1,ones(1,length(undr)));

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日本亚洲最大的色成网站www| 亚洲国产日日夜夜| 精品国产三级电影在线观看| 欧美视频精品在线| 在线免费观看成人短视频| 成人av免费网站| 91在线精品一区二区三区| a4yy欧美一区二区三区| 91麻豆精品一区二区三区| 一本色道久久综合精品竹菊| 在线观看av不卡| 欧美精品一级二级三级| 日韩精品专区在线影院重磅| 精品国产污污免费网站入口| 国产人伦精品一区二区| 国产精品国产a| 亚洲国产精品视频| 看电影不卡的网站| 粉嫩久久99精品久久久久久夜| www.66久久| 欧美精品视频www在线观看| 91精品国产综合久久久久久久| 久久亚洲私人国产精品va媚药| 国产三级一区二区三区| 亚洲靠逼com| 国产成人综合亚洲91猫咪| 国产精品白丝jk黑袜喷水| 一本到不卡精品视频在线观看 | 精品中文字幕一区二区| 国产剧情一区二区| 91成人免费在线视频| 欧美xfplay| 国产精品久久久久毛片软件| 亚洲一区二区在线免费观看视频| 麻豆极品一区二区三区| 成人国产精品免费| 91精品国产色综合久久久蜜香臀| 国产精品三级电影| 日韩va欧美va亚洲va久久| 成人爽a毛片一区二区免费| 欧美日韩情趣电影| 中文幕一区二区三区久久蜜桃| 五月婷婷欧美视频| 成人av在线资源| 精品乱人伦小说| 中文字幕日韩av资源站| 国精产品一区一区三区mba桃花| 91碰在线视频| 国产日韩v精品一区二区| 天堂成人免费av电影一区| 成人91在线观看| 26uuu久久综合| 人人爽香蕉精品| 久久婷婷国产综合精品青草| 麻豆91在线观看| 色综合天天做天天爱| 久久综合狠狠综合久久激情| 午夜精品久久久久久久久久久 | 91美女精品福利| 久久婷婷国产综合精品青草| 天天操天天干天天综合网| 91麻豆福利精品推荐| 国产午夜精品在线观看| 九九国产精品视频| 精品久久人人做人人爰| 视频一区二区三区中文字幕| 欧美亚洲禁片免费| 亚洲综合区在线| 欧美三级电影精品| 视频一区国产视频| 欧美一级片在线看| 日本不卡1234视频| 日韩一级大片在线| 久久精品国产一区二区三| 欧美精品自拍偷拍| 美女高潮久久久| 日韩一区二区免费在线观看| 免费成人美女在线观看| 欧美成人性战久久| 国产精品亚洲第一| 国产精品系列在线| 91色婷婷久久久久合中文| 亚洲免费伊人电影| 欧美日产在线观看| 看电视剧不卡顿的网站| 久久婷婷国产综合精品青草| 成人理论电影网| 亚洲mv大片欧洲mv大片精品| 欧美在线一区二区| 日韩精品一二区| 欧美成人一区二区三区片免费| 国产一区二区福利| 亚洲乱码中文字幕| 欧美精品丝袜中出| 国产精品一区二区在线观看不卡| 欧美激情一区二区三区不卡| 91蜜桃婷婷狠狠久久综合9色| 亚洲午夜精品在线| 久久免费电影网| 色诱视频网站一区| 日本不卡高清视频| 国产精品久久久久一区| 欧美日韩国产首页| 国产精品一区二区久激情瑜伽| 亚洲欧美激情在线| 91精品国产入口| 不卡在线观看av| 日本亚洲三级在线| 国产视频一区二区三区在线观看| 在线观看成人小视频| 国产精品亚洲人在线观看| 一区二区三区久久久| 久久久亚洲国产美女国产盗摄 | 亚洲h在线观看| 日本一区二区高清| 欧美一区二区三区小说| www.亚洲激情.com| 久久av资源网| 亚洲高清中文字幕| 综合精品久久久| 久久久久久毛片| 日韩一区二区免费高清| 91久久一区二区| 高清在线观看日韩| 另类综合日韩欧美亚洲| 一个色在线综合| 国产精品久久久久久久久久免费看 | 国产一区二区三区香蕉| 一二三区精品视频| 中文字幕一区二区视频| 久久久777精品电影网影网| 欧美蜜桃一区二区三区| 91免费国产在线观看| 国产精品一卡二| 久久精品国产色蜜蜜麻豆| 亚洲午夜一区二区三区| 亚洲免费观看高清完整版在线观看熊 | 午夜成人在线视频| 久久综合九色综合97婷婷| 欧美亚洲动漫精品| 91在线视频18| 成人午夜电影久久影院| 韩国v欧美v日本v亚洲v| 久久精品免费看| 麻豆国产欧美日韩综合精品二区| 亚洲国产美国国产综合一区二区| 亚洲男人天堂一区| 亚洲欧洲国产专区| 国产精品国产a级| 一区二区三区四区不卡视频| 国产欧美精品一区| 欧美极品xxx| 国产午夜精品美女毛片视频| 久久综合色8888| 久久你懂得1024| 26uuu欧美| 久久网站最新地址| 中文久久乱码一区二区| 中文字幕欧美一| 一区二区三区在线免费视频 | 日本vs亚洲vs韩国一区三区| 日韩成人免费电影| 老司机午夜精品| 国产电影一区二区三区| 成人国产精品免费观看动漫| 一本色道久久综合亚洲91| 欧美性xxxxx极品少妇| 欧美美女一区二区| 精品国精品国产尤物美女| 国产丝袜美腿一区二区三区| 亚洲色图视频网| 日韩激情中文字幕| 国产精品66部| 91蜜桃在线免费视频| 欧美精品高清视频| 久久久青草青青国产亚洲免观| 国产精品人成在线观看免费 | 久久午夜电影网| 有坂深雪av一区二区精品| 日精品一区二区三区| 国产成人精品一区二区三区四区| 一本久道中文字幕精品亚洲嫩| 欧美精品电影在线播放| 久久免费看少妇高潮| 一区二区三区在线不卡| 精品一区二区三区视频在线观看| aaa亚洲精品| 精品国产三级a在线观看| 亚洲色图另类专区| 久久成人久久鬼色| 91视视频在线观看入口直接观看www | 久久在线观看免费| 亚洲黄一区二区三区| 精品一区二区国语对白| 91精品福利在线| 国产欧美日韩亚州综合| 亚洲成人自拍网| 成人av免费在线| 久久综合一区二区| 婷婷六月综合亚洲|