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

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

?? plot_ras.m

?? RBF算法matlab工具箱,里面有詳細的說明文檔.
?? 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一区二区三区免费野_久草精品视频
精品国产精品一区二区夜夜嗨 | 成人免费视频视频在线观看免费| 国产在线播精品第三| 成人av电影在线播放| 日韩欧美亚洲国产精品字幕久久久 | 一本一道波多野结衣一区二区| 欧美岛国在线观看| 亚洲一区二区三区四区不卡| 成人性生交大片免费| 亚洲精品一线二线三线无人区| 亚洲狠狠爱一区二区三区| 成人av高清在线| 精品国精品国产| 日日夜夜一区二区| 在线一区二区三区四区五区| 久久精品视频免费观看| 日日夜夜精品免费视频| 色偷偷88欧美精品久久久| 国产欧美日韩综合| 久久草av在线| 日韩三级在线观看| 午夜国产精品影院在线观看| 色国产综合视频| 中文文精品字幕一区二区| 国产一区二区不卡| 精品国产伦一区二区三区观看方式 | 欧美色视频在线| 综合色中文字幕| 成人网男人的天堂| 国产欧美一区二区三区在线看蜜臀| 久久精品国产在热久久| 欧美一区永久视频免费观看| 日韩黄色小视频| 3atv一区二区三区| 日本免费新一区视频| 日韩女优毛片在线| 国产一区二区伦理| 国产农村妇女毛片精品久久麻豆| 国产乱码精品1区2区3区| 久久品道一品道久久精品| 国产精品一区二区在线观看不卡 | 欧美日韩一级二级| 日韩国产欧美在线观看| 日韩一级高清毛片| 开心九九激情九九欧美日韩精美视频电影| 欧美一区二区三区免费视频| 日本欧美肥老太交大片| 久久欧美中文字幕| www.综合网.com| 亚洲一区欧美一区| 欧美一级精品大片| 国产在线不卡视频| 最新不卡av在线| 欧美色视频在线| 久久国产视频网| 国产精品麻豆网站| 欧美亚洲综合色| 久久99精品久久久久久久久久久久| 国产亚洲成av人在线观看导航| 成人免费福利片| 亚洲va国产va欧美va观看| 精品日韩一区二区| av亚洲精华国产精华精华| 亚洲成av人片www| 久久精品视频免费观看| 欧美亚洲自拍偷拍| 国产精品夜夜嗨| 午夜伦理一区二区| 国产精品久久三区| 91麻豆精品国产自产在线| 国产成人精品三级| 日韩激情一二三区| 中文字幕日韩av资源站| 欧美美女bb生活片| caoporn国产一区二区| 日韩av电影免费观看高清完整版 | 欧美日韩免费在线视频| 久久66热re国产| 亚洲欧美乱综合| 精品国产一区二区三区四区四| 99国产精品视频免费观看| 美日韩一区二区| 亚洲精品少妇30p| 国产欧美一区二区精品仙草咪| 欧美日韩一区二区三区免费看| 国产精品1024| 久99久精品视频免费观看| 一区二区三区在线看| 欧美国产丝袜视频| 精品国产sm最大网站免费看| 欧美日韩精品欧美日韩精品一| 不卡一区中文字幕| 国产一区二区三区美女| 天堂一区二区在线| 一区二区三区不卡视频 | 成人激情av网| 精品一区二区三区在线播放| 亚洲一区二区3| 亚洲激情欧美激情| 亚洲欧洲韩国日本视频| 中文字幕精品一区二区精品绿巨人 | 国产拍揄自揄精品视频麻豆| 欧美一级高清大全免费观看| 91黄色免费看| 99国产一区二区三精品乱码| caoporn国产一区二区| 国产乱码字幕精品高清av | 日韩精品一二三区| 亚洲精品老司机| 综合久久综合久久| 亚洲国产高清在线观看视频| 久久精品日产第一区二区三区高清版 | www.综合网.com| 处破女av一区二区| 国产成人av影院| 国产成人精品一区二| 成人中文字幕电影| 国产精品1区2区3区| 狠狠色丁香久久婷婷综合丁香| 日韩精品一级二级| 美腿丝袜亚洲色图| 国产一区激情在线| 国产成人免费av在线| 福利一区二区在线| 北条麻妃一区二区三区| 色94色欧美sute亚洲线路一ni | 亚洲精品免费一二三区| 1024成人网色www| 亚洲视频图片小说| 亚洲一二三四区| 日韩精品久久久久久| 久久精品国产99国产| 国产成人激情av| 色综合久久中文综合久久97| 欧美色综合网站| 日韩欧美国产午夜精品| 精品国产伦一区二区三区观看体验| 久久久久久电影| 亚洲人成影院在线观看| 亚洲成人久久影院| 国产一区二区三区在线看麻豆| 成人一区二区视频| 欧美性色黄大片| 精品精品国产高清一毛片一天堂| 国产精品午夜电影| 亚洲乱码国产乱码精品精可以看 | 丁香亚洲综合激情啪啪综合| 成人app下载| 91精品福利在线一区二区三区| 精品福利在线导航| 亚洲人被黑人高潮完整版| 强制捆绑调教一区二区| 大胆亚洲人体视频| 69久久夜色精品国产69蝌蚪网| 久久无码av三级| 亚洲一级电影视频| 国产一区二区按摩在线观看| 欧洲国内综合视频| 国产清纯白嫩初高生在线观看91 | 色综合 综合色| 欧美一区二区三级| 国产精品五月天| 美女性感视频久久| 91老师片黄在线观看| 欧美va在线播放| 亚洲精品福利视频网站| 国产在线国偷精品免费看| 欧美调教femdomvk| 亚洲国产激情av| 精品无码三级在线观看视频| 欧美色视频一区| 自拍偷拍国产亚洲| 国产91丝袜在线播放| 欧美一级理论性理论a| 亚洲国产欧美日韩另类综合| 成人免费福利片| 欧美精品一区二区三区高清aⅴ| 亚洲精品成人在线| 成人免费高清视频在线观看| 欧美va在线播放| 日韩av不卡在线观看| 欧美日韩久久一区二区| 亚洲欧美日韩在线| 91丨九色丨蝌蚪丨老版| 国产女同互慰高潮91漫画| 精品一区二区三区在线播放 | 麻豆精品视频在线观看免费 | 色香蕉久久蜜桃| 最新国产精品久久精品| 国产99久久久国产精品潘金| 久久亚区不卡日本| 国产精品一二三区在线| xfplay精品久久| 黄网站免费久久| 欧美变态tickle挠乳网站| 日韩电影在线观看一区| 91精品国产高清一区二区三区| 亚洲第一久久影院| 制服丝袜亚洲色图| 日本在线不卡视频|