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

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

?? demprior.m

?? this is also good for learning SVM algorithm
?? M
字號:
function demprior(action);%DEMPRIOR Demonstrate sampling from a multi-parameter Gaussian prior.%%	Description%	This function plots the functions represented by a multi-layer%	perceptron network when the weights are set to values drawn from a%	Gaussian prior distribution. The parameters AW1, AB1 AW2 and AB2%	control the inverse variances of the first-layer weights, the hidden%	unit  biases, the second-layer weights and the output unit biases%	respectively.  Their values can be adjusted on a logarithmic scale%	using the sliders, or  by typing values into the text boxes and%	pressing the return key.%%	See also%	MLP%%	Copyright (c) Ian T Nabney (1996-2001)if nargin<1,    action='initialize';end;if strcmp(action,'initialize')    aw1 = 0.01;  ab1 = 0.1;  aw2 = 1.0;  ab2 = 1.0;    % Create FIGURE  fig=figure( ...    'Name','Sampling from a Gaussian prior', ...    'Position', [50 50 480 380], ...    'NumberTitle','off', ...    'Color', [0.8 0.8 0.8], ...    'Visible','on');  % The TITLE BAR frame  uicontrol(fig,  ...    'Style','frame', ...    'Units','normalized', ...    'HorizontalAlignment', 'center', ...    'Position', [0.5 0.82 0.45 0.1], ...    'BackgroundColor',[0.60 0.60 0.60]);    % The TITLE BAR text  uicontrol(fig, ...    'Style', 'text', ...    'Units', 'normalized', ...    'BackgroundColor', [0.6 0.6 0.6], ...    'Position', [0.54 0.85 0.40 0.05], ...    'HorizontalAlignment', 'left', ...    'String', 'Sampling from a Gaussian prior');    % Frames to enclose sliders  uicontrol(fig, ...    'Style', 'frame', ...    'Units', 'normalized', ...    'BackgroundColor', [0.6 0.6 0.6], ...    'Position', [0.05 0.08 0.35 0.18]);    uicontrol(fig, ...    'Style', 'frame', ...    'Units', 'normalized', ...    'BackgroundColor', [0.6 0.6 0.6], ...    'Position', [0.05 0.3 0.35 0.18]);     uicontrol(fig, ...    'Style', 'frame', ...    'Units', 'normalized', ...    'BackgroundColor', [0.6 0.6 0.6], ...    'Position', [0.05 0.52 0.35 0.18]);     uicontrol(fig, ...    'Style', 'frame', ...    'Units', 'normalized', ...    'BackgroundColor', [0.6 0.6 0.6], ...    'Position', [0.05 0.74 0.35 0.18]);     % Frame text  uicontrol(fig, ...    'Style', 'text', ...    'Units', 'normalized', ...    'HorizontalAlignment', 'left', ...    'BackgroundColor', [0.6 0.6 0.6], ...    'Position', [0.07 0.17 0.06 0.07], ...    'String', 'aw1');  % Frame text  uicontrol(fig, ...    'Style', 'text', ...    'Units', 'normalized', ...    'HorizontalAlignment', 'left', ...    'BackgroundColor', [0.6 0.6 0.6], ...    'Position', [0.07 0.39 0.06 0.07], ...    'String', 'ab1');  % Frame text  uicontrol(fig, ...    'Style', 'text', ...    'Units', 'normalized', ...    'HorizontalAlignment', 'left', ...    'BackgroundColor', [0.6 0.6 0.6], ...    'Position', [0.07 0.61 0.06 0.07], ...    'String', 'aw2');  % Frame text  uicontrol(fig, ...    'Style', 'text', ...    'Units', 'normalized', ...    'HorizontalAlignment', 'left', ...    'BackgroundColor', [0.6 0.6 0.6], ...    'Position', [0.07 0.83 0.06 0.07], ...    'String', 'ab2');     % Slider  minval = -5; maxval = 5;  aw1slide = uicontrol(fig, ...    'Style', 'slider', ...    'Units', 'normalized', ...    'Value', log10(aw1), ...    'BackgroundColor', [0.8 0.8 0.8], ...    'Position', [0.07 0.1 0.31 0.05], ...    'Min', minval, 'Max', maxval, ...    'Callback', 'demprior update');    % Slider  ab1slide = uicontrol(fig, ...    'Style', 'slider', ...    'Units', 'normalized', ...    'Value', log10(ab1), ...    'BackgroundColor', [0.8 0.8 0.8], ...    'Position', [0.07 0.32 0.31 0.05], ...    'Min', minval, 'Max', maxval, ...    'Callback', 'demprior update');    % Slider  aw2slide = uicontrol(fig, ...    'Style', 'slider', ...    'Units', 'normalized', ...    'Value', log10(aw2), ...    'BackgroundColor', [0.8 0.8 0.8], ...    'Position', [0.07 0.54 0.31 0.05], ...    'Min', minval, 'Max', maxval, ...    'Callback', 'demprior update');    % Slider  ab2slide = uicontrol(fig, ...    'Style', 'slider', ...    'Units', 'normalized', ...    'Value', log10(ab2), ...    'BackgroundColor', [0.8 0.8 0.8], ...    'Position', [0.07 0.76 0.31 0.05], ...    'Min', minval, 'Max', maxval, ...    'Callback', 'demprior update');    % The graph box  haxes = axes('Position', [0.5 0.28 0.45 0.45], ...    'Units', 'normalized', ...    'Visible', 'on');    % Text display of hyper-parameter values    format = '%8f';    aw1val = uicontrol(fig, ...    'Style', 'edit', ...    'Units', 'normalized', ...    'Position', [0.15 0.17 0.23 0.07], ...    'String', sprintf(format, aw1), ...    'Callback', 'demprior newval');    ab1val = uicontrol(fig, ...    'Style', 'edit', ...    'Units', 'normalized', ...    'Position', [0.15 0.39 0.23 0.07], ...    'String', sprintf(format, ab1), ...    'Callback', 'demprior newval');    aw2val = uicontrol(fig, ...    'Style', 'edit', ...    'Units', 'normalized', ...    'Position', [0.15 0.61 0.23 0.07], ...    'String', sprintf(format, aw2), ...    'Callback', 'demprior newval');    ab2val = uicontrol(fig, ...    'Style', 'edit', ...    'Units', 'normalized', ...    'Position', [0.15 0.83 0.23 0.07], ...    'String', sprintf(format, ab2), ...    'Callback', 'demprior newval');     % The SAMPLE button  uicontrol(fig, ...    'Style','push', ...    'Units','normalized', ...    'BackgroundColor', [0.6 0.6 0.6], ...    'Position',[0.5 0.08 0.13 0.1], ...    'String','Sample', ...    'Callback','demprior replot');    % The CLOSE button  uicontrol(fig, ...    'Style','push', ...    'Units','normalized', ...    'BackgroundColor', [0.6 0.6 0.6], ...    'Position',[0.82 0.08 0.13 0.1], ...    'String','Close', ...    'Callback','close(gcf)');    % The HELP button  uicontrol(fig, ...    'Style','push', ...    'Units','normalized', ...    'BackgroundColor', [0.6 0.6 0.6], ...    'Position',[0.66 0.08 0.13 0.1], ...    'String','Help', ...    'Callback','demprior help');     % Save handles to objects    hndlList=[fig aw1slide ab1slide aw2slide ab2slide aw1val ab1val aw2val ...      ab2val haxes];  set(fig, 'UserData', hndlList);    demprior('replot')    elseif strcmp(action, 'update'),    % Update when a slider is moved.    hndlList   = get(gcf, 'UserData');  aw1slide   = hndlList(2);  ab1slide = hndlList(3);  aw2slide  = hndlList(4);  ab2slide = hndlList(5);  aw1val = hndlList(6);  ab1val = hndlList(7);  aw2val = hndlList(8);  ab2val = hndlList(9);  haxes = hndlList(10);    aw1 = 10^get(aw1slide, 'Value');  ab1 = 10^get(ab1slide, 'Value');  aw2 = 10^get(aw2slide, 'Value');  ab2 = 10^get(ab2slide, 'Value');      format = '%8f';  set(aw1val, 'String', sprintf(format, aw1));  set(ab1val, 'String', sprintf(format, ab1));  set(aw2val, 'String', sprintf(format, aw2));  set(ab2val, 'String', sprintf(format, ab2));    demprior('replot');  elseif strcmp(action, 'newval'),    % Update when text is changed.    hndlList   = get(gcf, 'UserData');  aw1slide   = hndlList(2);  ab1slide = hndlList(3);  aw2slide  = hndlList(4);  ab2slide = hndlList(5);  aw1val = hndlList(6);  ab1val = hndlList(7);  aw2val = hndlList(8);  ab2val = hndlList(9);  haxes = hndlList(10);      aw1 = sscanf(get(aw1val, 'String'), '%f');  ab1 = sscanf(get(ab1val, 'String'), '%f');  aw2 = sscanf(get(aw2val, 'String'), '%f');  ab2 = sscanf(get(ab2val, 'String'), '%f');    set(aw1slide, 'Value', log10(aw1));  set(ab1slide, 'Value', log10(ab1));  set(aw2slide, 'Value', log10(aw2));  set(ab2slide, 'Value', log10(ab2));    demprior('replot');  elseif strcmp(action, 'replot'),    % Re-sample from the prior and plot graphs.   oldFigNumber=watchon;  hndlList   = get(gcf, 'UserData');  aw1slide   = hndlList(2);  ab1slide = hndlList(3);  aw2slide  = hndlList(4);  ab2slide = hndlList(5);  haxes = hndlList(10);    aw1 = 10^get(aw1slide, 'Value');  ab1 = 10^get(ab1slide, 'Value');  aw2 = 10^get(aw2slide, 'Value');  ab2 = 10^get(ab2slide, 'Value');   axes(haxes);  cla  set(gca, ...    'Box', 'on', ...    'Color', [0 0 0], ...    'XColor', [0 0 0], ...    'YColor', [0 0 0], ...    'FontSize', 14);  axis([-1 1 -10 10]);    set(gca,'DefaultLineLineWidth', 2);  nhidden = 12;  prior = mlpprior(1, nhidden, 1, aw1, ab1, aw2, ab2);  xvals = -1:0.005:1;  nsample = 10;    % Number of samples from prior.  hold on  plot([-1 0; 1 0], [0 -10; 0 10], 'b--');  net = mlp(1, nhidden, 1, 'linear', prior);  for i = 1:nsample    net = mlpinit(net, prior);    yvals = mlpfwd(net, xvals');    plot(xvals', yvals, 'y');  end      watchoff(oldFigNumber); elseif strcmp(action, 'help'),    % Provide help to user.  oldFigNumber=watchon;  helpfig = figure('Position', [100 100 480 400], ...    'Name', 'Help', ...    'NumberTitle', 'off', ...    'Color', [0.8 0.8 0.8], ...    'Visible','on');      % The HELP TITLE BAR frame  uicontrol(helpfig,  ...    'Style','frame', ...    'Units','normalized', ...    'HorizontalAlignment', 'center', ...    'Position', [0.05 0.82 0.9 0.1], ...    'BackgroundColor',[0.60 0.60 0.60]);    % The HELP TITLE BAR text  uicontrol(helpfig, ...    'Style', 'text', ...    'Units', 'normalized', ...    'BackgroundColor', [0.6 0.6 0.6], ...    'Position', [0.26 0.85 0.6 0.05], ...    'HorizontalAlignment', 'left', ...    'String', 'Help: Sampling from a Gaussian Prior');    helpstr1 = strcat( ...    'This demonstration shows the effects of sampling from a Gaussian', ...     ' prior over weights for a two-layer feed-forward network. The', ...     ' parameters aw1, ab1, aw2 and ab2 control the inverse variances of', ...     ' the first-layer weights, the hidden unit biases, the second-layer', ...     ' weights and the output unit biases respectively. Their values can', ...     ' be adjusted on a logarithmic scale using the sliders, or by', ...     ' typing values into the text boxes and pressing the return key.', ...     '  After setting these values, press the ''Sample'' button to see a', ...     ' new sample from the prior. ');   helpstr2 = strcat( ...     'Observe how aw1 controls the horizontal length-scale of the', ...     ' variation in the functions, ab1 controls the input range over', ...     ' such variations occur, aw2 sets the vertical scale of the output', ...     ' and ab2 sets the vertical off-set of the output. The network has', ...     ' 12 hidden units. ');   hstr(1) = {helpstr1};   hstr(2) = {''};   hstr(3) = {helpstr2};  % The HELP text  helpui = uicontrol(helpfig, ...    'Style', 'edit', ...    'Units', 'normalized', ...    'ForegroundColor', [0 0 0], ...    'HorizontalAlignment', 'left', ...    'BackgroundColor', [1 1 1], ...    'Min', 0, ...    'Max', 2, ...    'Position', [0.05 0.2 0.9 0.8]);      [hstrw , newpos] = textwrap(helpui, hstr, 70);   set(helpui, 'String', hstrw, 'Position', [0.05, 0.2, 0.9, newpos(4)]);        % The CLOSE button  uicontrol(helpfig, ...    'Style','push', ...    'Units','normalized', ...    'BackgroundColor', [0.6 0.6 0.6], ...    'Position',[0.4 0.05 0.2 0.1], ...    'String','Close', ...    'Callback','close(gcf)');   watchoff(oldFigNumber);end;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美电影影音先锋| 成人v精品蜜桃久久一区| 精品一区二区三区香蕉蜜桃 | 欧美肥妇bbw| 欧美va在线播放| 国产精品高潮呻吟| 亚洲综合在线第一页| 日韩激情一区二区| 高清不卡在线观看av| 欧美无砖专区一中文字| 精品国产成人系列| 中文字幕一区二区三区蜜月| 一区二区三区欧美| 精品亚洲porn| 在线观看av一区二区| 26uuu成人网一区二区三区| 中文字幕亚洲在| 日日噜噜夜夜狠狠视频欧美人| 国产精品亚洲а∨天堂免在线| 欧美无砖专区一中文字| 国产欧美精品国产国产专区| 亚洲综合久久av| 粉嫩av一区二区三区在线播放| 欧美浪妇xxxx高跟鞋交| 国产精品乱人伦中文| 久色婷婷小香蕉久久| 在线中文字幕一区二区| 久久久久久久久一| 婷婷开心久久网| av亚洲精华国产精华精华| 日韩免费看网站| 亚洲一二三四区| 成人爽a毛片一区二区免费| 欧美一区二区三区公司| 亚洲欧美日韩久久| 国产盗摄一区二区三区| 9191成人精品久久| 亚洲老妇xxxxxx| 成人免费视频app| 精品国产区一区| 日韩制服丝袜av| 色88888久久久久久影院按摩| 久久久99精品久久| 毛片一区二区三区| 欧美日韩免费一区二区三区| 中文字幕亚洲精品在线观看| 韩国一区二区在线观看| 91麻豆精品国产自产在线观看一区| 亚洲欧美激情一区二区| 高清不卡一区二区在线| 精品久久99ma| 蜜臀精品一区二区三区在线观看 | 午夜国产精品影院在线观看| 99re视频精品| 中文字幕在线一区| 成人午夜av在线| 国产视频一区二区在线| 国产在线精品一区在线观看麻豆| 欧美一区二区在线看| 亚洲成av人片一区二区三区| 在线看国产日韩| 亚洲在线视频一区| 色婷婷av一区二区三区大白胸| 亚洲视频一区二区免费在线观看| 成人黄色小视频| 中文字幕在线不卡一区二区三区| www.av精品| 国产精品成人一区二区三区夜夜夜| 丁香激情综合国产| 欧美激情综合五月色丁香小说| 国产麻豆午夜三级精品| 久久久午夜精品理论片中文字幕| 国产自产2019最新不卡| 久久久久久9999| 成人午夜激情片| 亚洲欧美在线aaa| 色8久久人人97超碰香蕉987| 亚洲国产一二三| 欧美另类videos死尸| 日韩一区精品视频| 正在播放亚洲一区| 免费人成网站在线观看欧美高清| 日韩免费高清电影| 国产在线麻豆精品观看| 日本一二三四高清不卡| av一区二区三区在线| 亚洲美女精品一区| 欧美日韩亚洲国产综合| 麻豆91精品91久久久的内涵| 久久久噜噜噜久久中文字幕色伊伊 | 色94色欧美sute亚洲13| 亚洲h在线观看| 精品免费日韩av| 国产福利精品导航| 亚洲视频免费在线| 在线观看网站黄不卡| 青青草国产成人av片免费| 欧美成人女星排行榜| 国产91在线观看| 亚洲精品国产第一综合99久久 | 日本特黄久久久高潮| 26uuu亚洲综合色欧美| 成人免费高清视频在线观看| 亚洲精品久久7777| 日韩欧美在线观看一区二区三区| 国产一区二区伦理| 亚洲欧洲日本在线| 欧美另类z0zxhd电影| 国内精品在线播放| 亚洲天堂2016| 日韩欧美国产午夜精品| 大陆成人av片| 亚洲国产日韩精品| 久久精品人人做人人综合| 在线一区二区三区四区五区| 欧美aaa在线| 国产精品高潮久久久久无| 欧美日韩高清一区二区不卡| 国产成人在线影院 | 91精品欧美一区二区三区综合在 | 亚洲色图清纯唯美| 欧美男女性生活在线直播观看| 国产另类ts人妖一区二区| 亚洲激情成人在线| 久久蜜桃av一区二区天堂 | 三级不卡在线观看| 国产欧美日韩亚州综合| 欧美人妖巨大在线| 成a人片国产精品| 欧美a级理论片| 依依成人精品视频| 久久久久国色av免费看影院| 欧美精选午夜久久久乱码6080| 波多野结衣视频一区| 美女脱光内衣内裤视频久久影院| 自拍偷拍国产亚洲| 国产亚洲综合在线| 欧美一区二区不卡视频| 日本电影欧美片| 丁香啪啪综合成人亚洲小说| 青青草97国产精品免费观看无弹窗版 | 精品一区二区三区免费毛片爱 | 在线综合+亚洲+欧美中文字幕| 99久久99久久精品免费观看 | 国产欧美精品一区二区色综合朱莉 | 一区二区三区四区在线| 久久久久88色偷偷免费| 欧美一区二区大片| 欧美亚洲精品一区| 91亚洲精品一区二区乱码| 国产乱码精品一品二品| 日韩高清不卡一区二区三区| 亚洲一区二区三区免费视频| 中文av一区二区| 国产色综合一区| 欧美精品一区二区三区视频| 制服丝袜亚洲色图| 欧美日韩美女一区二区| 色悠久久久久综合欧美99| 成人久久视频在线观看| 国产一区二区在线免费观看| 日本成人在线视频网站| 日韩精品一级二级| 香蕉影视欧美成人| 亚洲国产三级在线| 一区二区在线观看免费| 国产精品国产三级国产普通话三级 | 免费在线看成人av| 日韩国产一二三区| 亚洲午夜电影在线观看| 亚洲精品亚洲人成人网| 中文字幕五月欧美| 国产精品国产三级国产普通话蜜臀 | 国内精品国产成人| 久久99精品国产| 久草中文综合在线| 精品一区二区三区视频| 国产在线精品一区二区| 九九在线精品视频| 国内精品自线一区二区三区视频| 久久99国产精品久久99果冻传媒| 久久电影国产免费久久电影| 久久99精品久久久| 国产精品亚洲成人| 成人激情小说乱人伦| 99视频精品全部免费在线| 99麻豆久久久国产精品免费| 91污片在线观看| 色婷婷综合久久久中文字幕| 欧美视频在线一区| 91精品国产免费| 欧美成人一区二区三区在线观看| 日韩欧美国产一区二区三区 | 99精品视频在线免费观看| 99久久精品国产精品久久| 色爱区综合激月婷婷| 欧美三级日韩在线| 欧美成人乱码一区二区三区| 国产片一区二区| ...av二区三区久久精品|