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

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

?? demprior.m

?? 高斯過程是一種非參數化的學習方法
?? 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一区二区三区免费野_久草精品视频
欧美亚洲综合另类| 欧美www视频| 欧美精品123区| 国产女人aaa级久久久级 | 99国产精品国产精品毛片| 91视频一区二区| 欧美一卡二卡三卡四卡| 国产精品色婷婷久久58| 日本v片在线高清不卡在线观看| 国产精品一色哟哟哟| 91蜜桃传媒精品久久久一区二区 | 国精产品一区一区三区mba视频 | 久久久久久99精品| 亚洲精品高清在线| 狠狠网亚洲精品| 成人国产视频在线观看| 日韩欧美的一区| 一区二区在线观看免费 | 亚洲免费观看高清完整版在线| 日韩精品午夜视频| 91在线视频18| 久久精品人人做人人爽97| 不卡av在线免费观看| 精品国产电影一区二区| 美女脱光内衣内裤视频久久网站| 欧美日韩日日摸| 爽好多水快深点欧美视频| 欧美巨大另类极品videosbest | 久久精品国产秦先生| 911精品国产一区二区在线| 午夜影院久久久| 欧美日韩和欧美的一区二区| 午夜婷婷国产麻豆精品| 欧美精品色一区二区三区| 亚洲成人一区二区在线观看| 6080国产精品一区二区| 免费成人你懂的| 亚洲精品在线一区二区| 国产v综合v亚洲欧| 国产精品乱人伦| 色网综合在线观看| 亚洲成国产人片在线观看| 91精选在线观看| 韩国在线一区二区| 国产精品三级av| 欧美日韩综合色| 久久99蜜桃精品| 国产精品丝袜一区| 在线观看一区日韩| 日本欧美一区二区在线观看| 精品蜜桃在线看| 91亚洲精品久久久蜜桃| 亚洲成人www| 337p粉嫩大胆色噜噜噜噜亚洲| 国产白丝网站精品污在线入口| 亚洲丝袜制服诱惑| 7777精品伊人久久久大香线蕉| 激情综合一区二区三区| 亚洲欧美怡红院| 欧美一区二区三区婷婷月色| 国产成人av一区二区三区在线| 亚洲国产经典视频| 欧美亚洲一区二区在线| 久久99精品一区二区三区| 国产精品电影一区二区| 在线综合+亚洲+欧美中文字幕| 国产91清纯白嫩初高中在线观看 | 一区二区三区在线高清| 欧美一区二区日韩一区二区| 成人永久aaa| 日韩一区精品视频| 国产精品美女www爽爽爽| 欧美精品一二三四| 成人黄色免费短视频| 偷窥少妇高潮呻吟av久久免费| 久久精品日产第一区二区三区高清版 | a级高清视频欧美日韩| 午夜影院久久久| 国产精品久久久久久久蜜臀 | 久久精工是国产品牌吗| 中文字幕在线不卡一区二区三区| 日韩欧美国产一区二区在线播放| 91麻豆成人久久精品二区三区| 国内精品伊人久久久久av影院| 亚洲综合在线五月| 国产网红主播福利一区二区| 69堂成人精品免费视频| 91在线视频18| 国产91在线观看丝袜| 另类小说视频一区二区| 亚洲妇女屁股眼交7| 国产精品久久久久毛片软件| 久久综合色婷婷| 日韩午夜av一区| 欧美日韩电影在线| 欧美性受极品xxxx喷水| 91视频com| 成人黄色免费短视频| 国产成人av一区二区三区在线| 伦理电影国产精品| 三级影片在线观看欧美日韩一区二区 | 欧美最新大片在线看 | 亚洲少妇30p| 国产精品对白交换视频| 国产精品嫩草影院com| 国产亚洲精品aa| 久久综合给合久久狠狠狠97色69| 制服丝袜亚洲播放| 欧美日本国产视频| 欧美日韩成人综合| 欧美一三区三区四区免费在线看 | 久久夜色精品国产噜噜av| 91精品一区二区三区在线观看| 欧美精品色一区二区三区| 欧美剧在线免费观看网站 | 国产欧美日韩卡一| 欧美激情一区二区三区| 国产亚洲精品精华液| 国产精品美女久久久久久久久 | 麻豆视频观看网址久久| 久久99热这里只有精品| 国产盗摄女厕一区二区三区 | 国产高清不卡二三区| 粉嫩av一区二区三区在线播放| 国产成人免费高清| 成人av电影在线| 欧美最猛性xxxxx直播| 欧美一区二区三区视频在线| 精品久久久三级丝袜| 国产亚洲女人久久久久毛片| 国产精品拍天天在线| 亚洲女同ⅹxx女同tv| 亚洲一区二区成人在线观看| 丝瓜av网站精品一区二区 | 久久夜色精品国产欧美乱极品| xfplay精品久久| 国产精品久久久久久久久免费桃花| 亚洲欧美日韩国产综合在线| 天堂资源在线中文精品| 激情国产一区二区| 91蜜桃在线观看| 制服丝袜av成人在线看| 欧美激情一区在线| 五月天婷婷综合| 懂色av一区二区三区免费观看| 色一情一伦一子一伦一区| 欧美一级欧美三级| 中文一区二区完整视频在线观看| 一级做a爱片久久| 美脚の诱脚舐め脚责91| 成人激情av网| 91精品在线观看入口| 国产精品色婷婷久久58| 日韩激情一二三区| 北岛玲一区二区三区四区| 欧美日本一道本| 国产日韩精品久久久| 亚洲成人1区2区| 国产白丝网站精品污在线入口| 欧美人妖巨大在线| 日本一区二区三区视频视频| 午夜精品久久一牛影视| 不卡大黄网站免费看| 日韩精品自拍偷拍| 伊人一区二区三区| 国产伦精品一区二区三区免费 | 欧美日韩国产免费一区二区 | 国产午夜亚洲精品不卡| 天天色天天操综合| 91在线视频播放地址| 久久精品欧美一区二区三区麻豆| 亚洲国产综合91精品麻豆| 不卡影院免费观看| 欧美va亚洲va国产综合| 亚洲不卡av一区二区三区| 成人av影视在线观看| 欧美成人r级一区二区三区| 一个色综合网站| 9l国产精品久久久久麻豆| www国产亚洲精品久久麻豆| 丝袜美腿亚洲一区| 欧美日韩精品欧美日韩精品| 亚洲图片激情小说| 成人不卡免费av| 欧美高清在线精品一区| 韩国成人精品a∨在线观看| 7777女厕盗摄久久久| 无码av中文一区二区三区桃花岛| 在线精品观看国产| 亚洲激情校园春色| 一本色道久久综合亚洲91 | 一本色道久久综合亚洲91| 国产精品国产三级国产有无不卡 | 东方aⅴ免费观看久久av| 日韩色在线观看| 日韩国产欧美在线播放| 精品视频在线视频| 亚洲欧美电影院| 欧美中文字幕一区二区三区| 夜夜嗨av一区二区三区网页|