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

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

?? demo_get_data.m

?? matlab/e,radial basis function
?? M
字號:
function [mydemo, cleanup] = demo_get_data%% Demo of RBF design matrix utility.%% Initialise.n = 0;n = n + 1;mydemo(n) = struct( ...  'comments', {{              'Howdy! This is the demo for the get_data utility.', ...              '-------------------------------------------------', ...              '', ...              'get_data is used to create training or test sets for', ...              'a small set of simple simulated regression problems.'}}, ...  'commands', '', ...  'question', '', ...  'optional', '');n = n + 1;mydemo(n) = struct( ...  'comments', 'First, let''s find out what problems get_data can handle.', ...  'commands', 'get_data(''names'')', ...  'question', {{...              'This shows that, amongst others, get_data recognizes', ...              'two problems called ''sine1'' and ''hermite'', both of', ...              'which map 1D inputs to 1D outputs.', ...              '', ...              'Please pick one of these 1D-to-1D problems.'}}, ...  'optional', {{'sine1', 'hermite'}});n = n + 1;mydemo(n) = struct( ...  'comments', {{ ...              'Okay, you chose ''answer''. So now let''s run get_data on', ...              'that problem and let it set the configuration defaults itself.'}}, ...  'commands', '[x, y, conf] = get_data(''answer'');', ...  'question', '', ...  'optional', '');n = n + 1;mydemo(n) = struct( ...  'comments', 'Let''s have a look at the x and y values get_data has returned.', ...  'commands', {{ ...              'fig = get_fig(''get_data demo'');', ...              'hold off', ...              'plot(x, y, ''r*'')', ...              '%set(gca, ''XLim'', [conf.x1 conf.x2])', ...              '%set(gca, ''YLim'', [floor(min(y)) ceil(max(y))])', ...              '%set(gca, ''XTick'', conf.x1:conf.x2)', ...              '%set(gca, ''YTick'', floor(min(y)):ceil(max(y)))', ...              '%xlabel(''x'', ''FontSize'', 16)', ...              '%ylabel(''y'', ''FontSize'', 16, ''Rotation'', 0)'}}, ...  'question', '', ...  'optional', '');n = n + 1;mydemo(n) = struct( ...  'comments', {{ ...              'This noisy data is obviously meant to be a training set.', ...              'You can check on that by examining some of the defaults', ...              'that get_data has set and passed back in conf. For example,', ...              'the noise (conf.std) and whether the input values are ordered', ...              '(conf.ord: 1 means ordered and evenly spaced, 0 means not', ...              'ordered and not evenly spaced).'}}, ...  'commands', {{ ...              'disp(conf.std)', ...              'disp(conf.ord)'}}, ...  'question', '', ...  'optional', '');n = n + 1;mydemo(n) = struct( ...  'comments', {{ ...              'Next, let''s create a test set to go with the training set', ...              'we''ve already got. Our test set will be uncorrupted by noise', ...              'and we want the x values to be ordered (for plotting purposes).', ...              'To achieve this we can just edit the conf structure and hand it', ...              'back to get data.'}}, ...  'commands', {{ ...              'conf.std = 0;', ...              'conf.ord = 1;', ...              '[xt, yt] = get_data(conf);', ...              'hold on', ...              'plot(xt, yt, ''b-'', ''LineWidth'', 2)'}}, ...  'question', '', ...  'optional', '');n = n + 1;mydemo(n) = struct( ...  'comments', {{ ...              'If you want to plot a curve then ordering the inputs (x values)', ...              'is important, otherwise this happens. Not a pretty sight!'}}, ...  'commands', {{ ...              'conf.ord = 0;', ...              '[xt, yt] = get_data(conf);', ...              'hold off', ...              'plot(xt, yt, ''b-'', ''LineWidth'', 2)', ...              '%set(gca, ''XLim'', [conf.x1 conf.x2])', ...              '%set(gca, ''YLim'', [floor(min(y)) ceil(max(y))])', ...              '%set(gca, ''XTick'', conf.x1:conf.x2)', ...              '%set(gca, ''YTick'', floor(min(y)):ceil(max(y)))', ...              '%xlabel(''x'', ''FontSize'', 16)', ...              '%ylabel(''y'', ''FontSize'', 16, ''Rotation'', 0)'}}, ...  'question', '', ...  'optional', '');n = n + 1;mydemo(n) = struct( ...  'comments', 'Of course, if all you want is points then that''s no problem.', ...  'commands', {{ ...              'plot(xt, yt, ''b*'')', ...              '%set(gca, ''XLim'', [conf.x1 conf.x2])', ...              '%set(gca, ''YLim'', [floor(min(y)) ceil(max(y))])', ...              '%set(gca, ''XTick'', conf.x1:conf.x2)', ...              '%set(gca, ''YTick'', floor(min(y)):ceil(max(y)))', ...              '%xlabel(''x'', ''FontSize'', 16)', ...              '%ylabel(''y'', ''FontSize'', 16, ''Rotation'', 0)'}}, ...  'question', '', ...  'optional', '');n = n + 1;mydemo(n) = struct( ...  'comments', {{ ...              'What we just saw was an example where the input space (x) was 1D.', ...              'Plotting 2D data sets is a little more tricky.'}}, ...  'commands', '', ...  'question', 'Would you like to see a 2D example?', ...  'optional', {{'yes', 'quit'}});n = n + 1;mydemo(n) = struct( ...  'comments', {{ ...              'Okay, let''s try the ''sine2'' problem and, at first, allow', ...              'get_data to choose all the defaults. We''ll plot the positions', ...              'of the input points in the 2D plane.'}}, ...  'commands', {{ ...              '[X, y, conf] = get_data(''sine2'');', ...              'plot(X(1,:), X(2,:), ''m*'')', ...              '%xlabel(''x_1'', ''FontSize'', 16)', ...              '%ylabel(''x_2'', ''FontSize'', 16, ''Rotation'', 0)'}}, ...  'question', '', ...  'optional', '');n = n + 1;mydemo(n) = struct( ...  'comments', {{ ...              'How many samples (conf.p) has get_data given us, are the inputs', ...              'ordered (conf.ord) and how much noise (conf.std) is corrupting', ...              'the outputvalues?'}}, ...  'commands', {{ ...              'disp(conf.p)', ...              'disp(conf.ord)', ...              'disp(conf.std)'}}, ...  'question', '', ...  'optional', '');n = n + 1;mydemo(n) = struct( ...  'comments', {{ ...              'Ordering is turned off (as you could see from the figure) which is a', ...              'problem for plotting the surface. Matlab uses ordered and regularly', ...              'spaced grids for plotting 2D functions so we''ll need to turn ordering', ...              'on (which will also have the effect of regularly spacing out the', ...              'x-component values). In addition, we want an uncorrupted (smooth)', ...              'surface so we''ll set the noise to zero.'}}, ...  'commands', {{ ...              'conf.ord = 1;', ...              'conf.std = 0;', ...              '[X, y, conf] = get_data(conf);', ...              'plot(X(1,:), X(2,:), ''m*'')', ...              '%xlabel(''x_1'', ''FontSize'', 16)', ...              '%ylabel(''x_2'', ''FontSize'', 16, ''Rotation'', 0)'}}, ...  'question', '', ...  'optional', '');n = n + 1;mydemo(n) = struct( ...  'comments', {{ ...              'Notice the number of samples (conf.p) has changed, even though we', ...              'didn''t explicitly alter it. Why? To get an even number of points', ...              'along each of the two input dimensions get_data has taken the', ...              'square root of the original number, rounded it and squared it.', ...              'The new number of samples is the nearest perfect square to the', ...              'original number.'}}, ...  'commands', 'disp(conf.p)', ...  'question', '', ...  'optional', '');n = n + 1;mydemo(n) = struct( ...  'comments', {{ ...              'Before we can plot the surface we also need to turn the output', ...              'vector (y) into a matrix and infer the x-component values that', ...              'get_data has assigned. The latter can be accomplished by finding', ...              'out the minimum (conf.x1) and maximum (conf.x2) x-values.'}}, ...  'commands', {{ ...              'q = sqrt(conf.p);', ...              'Y = zeros(q,q);', ...              'Y(:) = y;', ...              'v1 = linspace(conf.x1(1), conf.x2(1), q);', ...              'v2 = linspace(conf.x1(2), conf.x2(2), q);'}}, ...  'question', '', ...  'optional', '');n = n + 1;mydemo(n) = struct( ...  'comments', {{ ...              'Now at last we''re ready to do the plotting.', ...              'First a fairly standard effort.'}}, ...  'commands', {{ ...              'mesh(v1, v2, Y)', ...              '%xlabel(''x_1'', ''FontSize'', 16)', ...              '%ylabel(''x_2'', ''FontSize'', 16)', ...              '%zlabel(''y'', ''FontSize'', 16, ''Rotation'', 0)'}}, ...  'question', '', ...  'optional', '');n = n + 1;mydemo(n) = struct( ...  'comments', 'Secondly, a more ambitious one.', ...  'commands', {{ ...              'surfl(v1, v2, Y)', ...              'light(''Position'', [0 0 1], ''Style'', ''infinite'');', ...              'colormap(hot)', ...              'shading interp', ...              '%xlabel(''x_1'', ''FontSize'', 16)', ...              '%ylabel(''x_2'', ''FontSize'', 16)', ...              '%zlabel(''y'', ''FontSize'', 16, ''Rotation'', 0)'}}, ...  'question', '', ...  'optional', '');n = n + 1;mydemo(n) = struct( ...  'comments', {{ ...              'Finally, let''s change one of the function''s parameters.', ...	      'The contents of the fields ''pinfo'' and ''par'' in conf', ...              'tell you what they''re for and what their values are.', ...              'In this example we''ll change the frequency along x_1.'}}, ...  'commands', {{ ...              'disp(conf.pinfo)', ...              'disp(conf.par)', ...              'conf.par(2) = 1;', ...              '[X, y] = get_data(conf);', ...              'Y(:) = y;', ...              'surfl(v1, v2, Y)', ...              '%light(''Position'', [0 0 1], ''Style'', ''infinite'');', ...              '%colormap(hot)', ...              '%shading interp', ...              '%xlabel(''x_1'', ''FontSize'', 16)', ...              '%ylabel(''x_2'', ''FontSize'', 16)', ...              '%zlabel(''y'', ''FontSize'', 16, ''Rotation'', 0)'}}, ...  'question', '', ...  'optional', '');n = n + 1;mydemo(n) = struct( ...  'comments', 'End of get_data demo.', ...  'commands', '', ...  'question', '', ...  'optional', '');% Define the commands necessary to cleanup after the demo (e.g. close figures).cleanup = 'if exist(''fig'', ''var'') if ~isempty(find(findobj(''type'',''figure'') == fig)) close(fig); end; end';

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美大片顶级少妇| 成人一区二区三区视频在线观看 | 在线不卡的av| 亚洲成在人线免费| 欧美一级高清片| 精品一区二区三区免费| 久久九九久精品国产免费直播| 一本到高清视频免费精品| 国产视频不卡一区| 91视频在线观看免费| 一区二区三区四区蜜桃| 69堂亚洲精品首页| 久久精品国产网站| 国产日产欧美一区二区视频| 丁香婷婷深情五月亚洲| 亚洲乱码日产精品bd| 欧美日韩综合在线| 蜜臀久久99精品久久久久久9 | 一本色道**综合亚洲精品蜜桃冫| 亚洲午夜av在线| 欧美精品一区二区三区在线 | 欧美成人一区二区| 成人三级伦理片| 天天综合网 天天综合色| 精品国产乱码久久久久久老虎| 成人免费黄色大片| 天堂久久一区二区三区| 久久久不卡影院| 欧美中文字幕一二三区视频| 老司机精品视频导航| 日韩理论电影院| 日韩精品一区二区三区在线观看| 高清在线观看日韩| 婷婷成人综合网| 亚洲色图一区二区三区| 日韩欧美国产wwwww| 色婷婷激情综合| 紧缚捆绑精品一区二区| 亚洲午夜视频在线观看| 国产无遮挡一区二区三区毛片日本| 欧洲中文字幕精品| 国产suv一区二区三区88区| 丝袜美腿成人在线| 亚洲欧美激情一区二区| 26uuu另类欧美亚洲曰本| 欧美无人高清视频在线观看| 国产成人亚洲精品青草天美| 日韩专区中文字幕一区二区| 18成人在线观看| 精品美女一区二区三区| 欧美军同video69gay| 91一区二区在线| 风间由美一区二区三区在线观看| 日本欧美在线看| 日韩伦理电影网| 国产精品久久综合| 久久这里只有精品首页| 欧美一区二区三区四区五区 | 丝瓜av网站精品一区二区| 国产精品成人午夜| 国产清纯在线一区二区www| 欧美一区二区大片| 欧美精品777| 欧美午夜电影网| 91免费国产视频网站| 成人av网址在线| 国产不卡一区视频| 日本va欧美va精品| 亚洲小说春色综合另类电影| 国产精品白丝在线| 久久嫩草精品久久久精品一| 日韩欧美卡一卡二| 国产精品二区一区二区aⅴ污介绍| 日韩免费性生活视频播放| 日韩午夜av电影| 日韩一区二区三区视频在线| 欧美一级免费大片| 欧美一区二区黄色| 日韩欧美高清一区| 精品成a人在线观看| www久久精品| 久久久亚洲高清| 欧美韩日一区二区三区四区| 中文字幕免费在线观看视频一区| 亚洲国产精华液网站w| 国产精品电影一区二区三区| 中文字幕一区二区三区不卡 | 欧美午夜精品理论片a级按摩| 欧美日韩在线观看一区二区| 5858s免费视频成人| 日韩三级精品电影久久久| 精品免费日韩av| 欧美国产精品中文字幕| 中文字幕一区二区三区视频 | 91国模大尺度私拍在线视频| 欧美性受极品xxxx喷水| 欧美三级电影在线看| 日韩一区二区视频在线观看| 久久久国产精品午夜一区ai换脸| 中文字幕第一区第二区| 一区二区三区欧美日韩| 日韩av一区二区在线影视| 极品少妇一区二区三区精品视频 | 日韩欧美资源站| 国产日韩欧美麻豆| 一区二区三区四区视频精品免费 | 成人激情av网| 欧美日韩精品欧美日韩精品一| 日韩欧美亚洲国产另类 | 亚洲欧美视频在线观看| 视频在线观看一区| 国产成人久久精品77777最新版本| 成人av电影在线| 欧美日韩情趣电影| 久久久国产一区二区三区四区小说| 国产农村妇女精品| 亚洲在线一区二区三区| 美女mm1313爽爽久久久蜜臀| 99精品久久免费看蜜臀剧情介绍| 精品视频免费看| 久久久三级国产网站| 亚洲激情图片qvod| 精品一区二区三区视频在线观看| 99久久久精品免费观看国产蜜| 欧美一区二区在线不卡| 国产精品每日更新在线播放网址| 亚洲福中文字幕伊人影院| 国产suv精品一区二区三区 | 精品国产亚洲在线| 亚洲一区二区三区四区在线免费观看 | 午夜电影网亚洲视频| 国产精品99久久久久| 欧美日韩国产首页| 久久久精品免费观看| 日韩精品乱码免费| 91一区二区在线| 久久久五月婷婷| 日本美女一区二区| 日本道免费精品一区二区三区| 国产亚洲精品bt天堂精选| 日韩电影免费一区| 91精品91久久久中77777| 国产欧美精品区一区二区三区 | 国产精品午夜在线| 久久99久国产精品黄毛片色诱| 欧美三级一区二区| 亚洲免费伊人电影| 不卡一区二区中文字幕| 国产亚洲成aⅴ人片在线观看| 日本怡春院一区二区| 91福利区一区二区三区| 中文字幕一区二区三区在线播放| 国产福利视频一区二区三区| 91精品中文字幕一区二区三区| 亚洲自拍偷拍综合| 一本到一区二区三区| 成人免费在线播放视频| 不卡电影免费在线播放一区| 久久久综合网站| 国产九九视频一区二区三区| 精品三级在线看| 久久99精品久久久久久| 欧美不卡123| 精品一区二区三区免费观看| 91精品一区二区三区在线观看| 午夜视频一区二区| 欧美性色欧美a在线播放| 亚洲另类中文字| 欧美在线视频日韩| 亚洲韩国精品一区| 欧美三级在线播放| 日韩电影免费在线观看网站| 日韩视频不卡中文| 国产一区二区三区四区五区入口 | 精品久久人人做人人爱| 欧美日韩亚洲综合一区| 亚洲一区免费视频| 欧美日韩精品电影| 日韩不卡在线观看日韩不卡视频| 91麻豆精品国产91久久久使用方法| 天堂精品中文字幕在线| 日韩一区二区在线看| 国内精品伊人久久久久av一坑| 亚洲精品一区二区精华| 成人午夜视频网站| 亚洲美女偷拍久久| 欧美日本韩国一区二区三区视频| 免费在线观看精品| 久久久久久久久一| eeuss国产一区二区三区| 一区二区免费在线播放| 欧美日韩午夜在线| 裸体歌舞表演一区二区| 久久精品免费在线观看| 99精品国产91久久久久久 | 国产精品视频九色porn| 91麻豆国产自产在线观看| 亚洲国产精品久久一线不卡| 日韩精品一区二区三区老鸭窝| 国产成人精品免费在线|