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

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

?? nnd13is.m

?? 神經網絡設計那本書的全部源代碼(隨書是附在軟盤里的)
?? M
?? 第 1 頁 / 共 2 頁
字號:
function nnd13is(cmd,arg1,arg2,arg3)
%NND13IS Instar demonstration.
%
%	This demonstration requires either the MININNET functions
%	on the NND disk or the Neural Network Toolbox.

% First Version, 8-31-95.

%==================================================================

% CONSTANTS
me = 'nnd13is';
Fs = 8192;
pause1 = 0.7;
pause2 = 0.1;

% DEFAULTS
if nargin == 0, cmd = ''; else cmd = lower(cmd); end

% FIND WINDOW IF IT EXISTS
fig = nnfgflag(me);
if length(get(fig,'children')) == 0, fig = 0; end

% GET WINDOW DATA IF IT EXISTS
if fig
  H = get(fig,'userdata');
  fig_axis = H(1);         % window axis
  desc_text = H(2);        % handle to first line of text sequence
  lines = H(3:4);          % belt circle lines
  fruit_indicator = H(5);  % fruit entrance indicator
  top_indicator = H(6);    % top exit indicator
  bottom_indicator = H(7); % bottom exit indicator;
  sounds = H(8:15);        % pointers to sounds
  angle_ptr = H(16);       % angle (deg) of lines in conveyer ends
  fruit_ptr = H(17);       % pointer to fruit shape
  arrows = H(21:22);       % handles to arrows
  rb1 = H(23);             % Working radio button
  rb2 = H(24);             % Not working radio button
  cross = H(25);           % Not working cross
  p1_ptr = H(26);          % Input #1
  p2_ptr = H(27);          % Input #2
  a_ptr = H(28);           % Output
  W2_ptr = H(29);          % Weights #2
  p1_box = H(30);
  p1_text = H(31);
  p2_box1 = H(32);
  p2_text1 = H(33);
  p2_box2 = H(34);
  p2_text2 = H(35);
  p2_box3 = H(36);
  p2_text3 = H(37);
  a_box = H(38);
  a_text = H(39);
  go_button = H(40);
  mode_ptr = H(41);
  W2_box1 = H(42);
  W2_text1 = H(43);
  W2_box2 = H(44);
  W2_text2 = H(45);
  W2_box3 = H(46);
  W2_text3 = H(47);
  n_box = H(48);
  n_text = H(49);
  mode = get(mode_ptr,'userdata');
end

%==================================================================
% Activate the window.
%
% ME() or ME('')
%==================================================================

if strcmp(cmd,'')
  if fig
    figure(fig)
    set(fig,'visible','on')
  else
    feval(me,'init')
  end

%==================================================================
% Close the window.
%
% ME() or ME('')
%==================================================================

elseif strcmp(cmd,'close') & (fig)
  delete(fig)

%==================================================================
% Initialize the window.
%
% ME('init')
%==================================================================

elseif strcmp(cmd,'init') & (~fig)

  % CHECK FOR TRANSFER FUNCTIONS
  if ~nnfexist(me), return, end

  % NEW DEMO FIGURE
  fig = nndemof2(me,'DESIGN','Instar','','Chapter 13');

  set(fig, ...
    'windowbuttondownfcn',nncallbk(me,'down'), ...
    'BackingStore','off',...
    'nextplot','add');
  H = get(fig,'userdata');
  fig_axis = H(1);
  desc_text = H(2);

  % SOUND POINTERS
  wind = uicontrol('visible','off','userdata',nndsnd(3));
  knock = uicontrol('visible','off','userdata',nndsnd(5));
  scan = uicontrol('visible','off','userdata',nndsnd(1));
  classify = uicontrol('visible','off','userdata',nndsnd(4));
  blip = uicontrol('visible','off','userdata',nndsnd(6));
  bloop = uicontrol('visible','off','userdata',nndsnd(7));
  blp = uicontrol('visible','off','userdata',nndsnd(9));
  tribble = uicontrol('visible','off','userdata',nndsnd(8));

  % ICON
  nndicon(13,458,363,'shadow')

  % CONVEYER BELT
  deg = pi/180;
  angle = [0:5:360]*deg;
  cx = cos(angle);
  cy = sin(angle);

  % ENTRANCE BOX
  x = 60;
  y = 20;
  fill([0 0 x+10 x+10],y+[70 50 50 70],nndkblue,...
    'edgecolor','none')
  fill(x+[10 10 50 50],y+[80 40 40 80],nndkblue,...
    'edgecolor','none')
  plot([0 x+[10 10 50 50 10 10] 0],...
    y+[50 50 40 40 80 80 70 70],...
    'color',nnred)
  left_arrow = fill(x+30+[-5 -5 -10 0 10 5 5],y+60+[15 5 5 -15 5 5 15],nndkblue,...
    'edgecolor',nnred,...
    'erasemode','none');
  fruit_ind = text(x-25,y+60,'Fruit',...
    'color',[0.8 0.8 0],...
    'fontweight','bold',...
    'horiz','center',...
    'erasemode','none');

  % LEFT CIRCLE
  line_angle = 45*deg;
  fill(x-10+cx*10,y+10+cy*10,nnred,...
    'edgecolor',nndkblue,...
    'linewidth',2)
  line_1 = plot(x-10+cos([0 pi]+line_angle)*8,y+10+sin([0 pi]+line_angle)*8,...
    'color',nndkblue,...
    'erasemode','none',...
    'linewidth',2);

  % RIGHT CIRCLE
  x = 320;
  fill(x+10+cx*10,y+10+cy*10,nnred,...
    'edgecolor',nndkblue,...
    'linewidth',2)
  line_2 = plot(x+10+cos([0 pi]+line_angle)*8,y+10+sin([0 pi]+line_angle)*8,...
    'color',nndkblue,...
    'erasemode','none',...
    'linewidth',2);

  % BELT
  plot([50 330],[y y]+20,...
    'color',nndkblue,...
    'linewidth',2)
  plot([50 330],[y y],...
    'color',nndkblue,...
    'linewidth',2)
  
  % SENSOR BOX #1
  x = 140;
  fill(x+[0 40 20],y+[40 40 80],nndkblue,...
    'edgecolor',nnred)
  fill(x+[0 40 40 0],y+[14 14 8 8],nndkblue,...
    'edgecolor',nnred)
  cross = plot(x+[15 25 20 25 15],y+[50 60 55 50 60],...
    'color',nndkblue,...
    'linewidth',3,...
    'erasemode','none');
  
  % SENSOR BOX #2
  x = 200;
  fill(x+[0 40 20],y+[40 40 80],nndkblue,...
    'edgecolor',nnred)
  fill(x+[0 40 40 0],y+[14 14 8 8],nndkblue,...
    'edgecolor',nnred)

  % EXIT BOX
  x = 320;
  fill([x-10 x-10 380 380],y+[80 62 62 80],nndkblue,...
    'edgecolor','none')
  fill([x-10 x-10 380 380],y+[40 58 58 40],nndkblue,...
    'edgecolor','none')
  fill(x-[10 10 50 50],y+[80 40 40 80],nndkblue,...
    'edgecolor','none')
  plot([378 x-[50 50] 378],y+[80 80 40 40],...
    'color',nnred)
  plot([378 x-[10 10] 378],y+[62 62 58 58],...
    'color',nnred)
  right_arrow = fill(x-30+[-5 -5 -10 0 10 5 5],y+60-[15 5 5 -15 5 5 15],nndkblue,...
    'edgecolor',nnred,...
    'erasemode','none');
  top_ind = text(x+25,y+71,'Orange',...
    'color',[0.8 0.8 0],...
    'fontweight','bold',...
    'horiz','center',...
    'erasemode','none');
  bottom_ind = text(x+24,y+48,'Other',...
    'color',[0.8 0.8 0],...
    'fontweight','bold',...
    'horiz','center',...
    'erasemode','none');

  % BUTTONS
  go_button = uicontrol(...
    'units','points',...
    'position',[400 150 60 20],...
    'string','Fruit',...
    'callback',[me '(''go'')']);
  uicontrol(...
    'units','points',...
    'position',[400 120 60 20],...
    'string','Clear',...
    'callback',[me '(''clear'')'])
  uicontrol(...
    'units','points',...
    'position',[400 90 60 20],...
    'string','Contents',...
    'callback','nndtoc')
  uicontrol(...
    'units','points',...
    'position',[400 60 60 20],...
    'string','Close',...
    'callback',[me '(''close'')'])

  % LOWER SEPERATION BAR
  fill([0 0 380 380],130+[0 4 4 0],nndkblue,...
    'edgecolor','none')

  % UPPER SEPERATION BAR
  fill([0 0 380 380],160+[0 4 4 0],nndkblue,...
    'edgecolor','none')
 
  % RADIO BUTTONS
  set(nndtext(20,147,'First Scanner:','left'),...
    'fontsize',12)
  rb1 = uicontrol(...
    'units','points',...
    'position',[140 139 100 20],...
    'string','Working',...
    'style','radio',...
    'value',1,...
    'callback',[me '(''working'')']);
  rb2 = uicontrol(...
    'units','points',...
    'position',[250 139 100 20],...
    'string','Not Working',...
    'style','radio',...
    'callback',[me '(''notworking'')']);

  W1 = 1;
  W2 = [0 0 0];
  set(fig,'nextplot','add')
  
  % NETWORK INPUT #1
  x1 = 70;
  y1 = 310;
  dy1 = 45;
  nndtext(x1-10,y1,'Orange?','right');
  p1_box = fill(x1+[0 20 20 0 0],y1-10+[0 0 20 20 0],nnltgray,...
    'edgecolor',nnred,...
    'linewidth',2,...
    'erasemode','none');
  p1_text = nndtext(x1+10,y1,'?');
  set(p1_text,'erasemode','none');

  % NETWORK INPUT #2
  y3 = y1-2*dy1;
  dy3 = -30;
  nndtext(x1-10,y3-dy3,'Shape','right');
  nndtext(x1-10,y3,'Texture','right');
  nndtext(x1-10,y3+dy3,'Weight','right');
  p2_box1 = fill(x1+[0 20 20 0 0],y3-10+[0 0 20 20 0]-dy3,nnltgray,...
    'edgecolor',nnred,...
    'linewidth',2,...
    'erasemode','none');
  p2_text1 = nndtext(x1+10,y3-dy3,'?');
  p2_box2 = fill(x1+[0 20 20 0 0],y3-10+[0 0 20 20 0],nnltgray,...
    'edgecolor',nnred,...
    'linewidth',2,...
    'erasemode','none');
  p2_text2 = nndtext(x1+10,y3,'?');
  p2_box3 = fill(x1+[0 20 20 0 0],y3-10+[0 0 20 20 0]+dy3,nnltgray,...
    'edgecolor',nnred,...
    'linewidth',2,...
    'erasemode','none');
  p2_text3 = nndtext(x1+10,y3+dy3,'?');

  % NEURON
  x2 = x1+165;
  y2 = y1-dy1;
  sumdist = 50;
  sz = 15;
  plot(x2+[0 0 sumdist],y2+[-25 0 0],'linewidth',2,'color',nnred);
  plot(x2-20+[0 40 40 0 0],y2-45+[0 0 20 20 0],'color',nnred,'linewidth',2);
  plot(x2+[0 0],y2+[-45 -55],'linewidth',2,'color',nnred);
  plot(x2+sumdist+sz+[20 30 0 30 20],y2+[10 0 0 0 -10],'linewidth',2,'color',nnred);
  nndtext(x2+sumdist+sz+45,y2+30,'Orange?');
  nndsicon('sum',x2,y2,sz)
  nndsicon('hardlim',x2+sumdist,y2,sz)
  nndtext(x2,y2-36,'-0.5');
  nndtext(x2,y2-66,'1');
  a_box = fill(x2+sumdist+sz+35+[0 20 20 0 0],y2-10+[0 0 20 20 0],nnltgray,...
    'edgecolor',nnred,...
    'linewidth',2,...
    'erasemode','none');
  a_text = nndtext(x2+sumdist+sz+45,y2,'?');
  
  % NET INPUT
  n_box = fill(x2+5+[0 40 40 0 0],y2+30+[0 0 20 20 0],nnltgray,...
    'edgecolor',nnred,...
    'linewidth',2,...
    'erasemode','none');
  n_text = nndtext(x2+25,y2+40,'?');
  plot(x2+25+[0 0],y2+[30 0],':','linewidth',2,'color',nnred);
  

  % WEIGHTS #1
  straight = 95;
  plot([x1+20 x1+straight-50],[y1 y1],'linewidth',2,'color',nnred);
  plot([x1+straight-10 x1+straight x2-sz],[y1 y1 y2],'linewidth',2,'color',nnred);
  plot(x1+straight-50+[0 40 40 0 0],y1-10+[0 0 20 20 0],'color',nnred,'linewidth',2);
  nndtext(x1+straight-30,y1,'1');

  % WEIGHTS #2
  straight_dist = 100;
  plot([x1+20 x1+straight-50],[y3 y3]-dy3,'linewidth',2,'color',nnred);
  plot([x1+straight-10 x1+straight x2-sz],[y3-dy3 y3-dy3 y2],'linewidth',2,'color',nnred);
  W2_box1 = fill(x1+straight-50+[0 40 40 0 0],y3-10+[0 0 20 20 0]-dy3,nnltgray,...
    'edgecolor',nnred,...
    'linewidth',2,...
    'erasemode','none');
  W2_text1 = nndtext(x1+straight-30,y3-dy3,sprintf('%5.2f',W2(1)));
  plot([x1+20 x1+straight-50],[y3 y3],'linewidth',2,'color',nnred);
  plot([x1+straight-10 x1+straight x2-sz],[y3 y3 y2],'linewidth',2,'color',nnred);
  W2_box2 = fill(x1+straight-50+[0 40 40 0 0],y3-10+[0 0 20 20 0],nnltgray,...
    'edgecolor',nnred,...
    'linewidth',2,...
    'erasemode','none');
  W2_text2 = nndtext(x1+straight-30,y3,sprintf('%5.2f',W2(2)));
  plot([x1+20 x1+straight-50],[y3 y3]+dy3,'linewidth',2,'color',nnred);
  plot([x1+straight-10 x1+straight x2-sz],[y3+dy3 y3+dy3 y2],'linewidth',2,'color',nnred);
  W2_box3 = fill(x1+straight-50+[0 40 40 0 0],y3-10+[0 0 20 20 0]+dy3,nnltgray,...
    'edgecolor',nnred,...
    'linewidth',2,...
    'erasemode','none');
  W2_text3 = nndtext(x1+straight-30,y3+dy3,sprintf('%5.2f',W2(3)));

  % INPUT HEADING
  temp = nndtext(x1+10,y1+30,'Inputs');

  % WEIGHT HEADING
  nndtext(x1+straight_dist-35,y1+30,'Weights');

  % SCANNER NAMES
  set(nndtext(160,120,''),...
    'fontsize',10)
  set(nndtext(160,109,'Orange?'),...
    'fontsize',10)
  set(nndtext(220,122,'Shape, Texture,'),...
    'fontsize',10)
  set(nndtext(220,109,'& Weight'),...
    'fontsize',10)

  % SAVE WINDOW DATA AND LOCK
  angle_ptr = uicontrol('visible','off','userdata',line_angle);
  fruit_ptr = uicontrol('visible','off','userdata',[]);

  p1_ptr = uicontrol('visible','off','userdata',[]);
  p2_ptr = uicontrol('visible','off','userdata',[]);
  a_ptr = uicontrol('visible','off','userdata',[]);
  W2_ptr = uicontrol('visible','off','userdata',W2);
  W2_ptr = uicontrol('visible','off','userdata',W2);
  mode_ptr = uicontrol('visible','off','userdata',1);

  H = [fig_axis, ...
       desc_text, ...
       line_1 line_2, ...
       fruit_ind top_ind bottom_ind, ...
       wind knock scan classify blip bloop blp tribble, ...
       angle_ptr fruit_ptr 0 0 0, ...
       left_arrow right_arrow,rb1 rb2 cross, ...
       p1_ptr p2_ptr a_ptr W2_ptr,...
       p1_box p1_text,...
       p2_box1 p2_text1 p2_box2 p2_text2 p2_box3 p2_text3,...
       a_box a_text,...
       go_button mode_ptr,...
       W2_box1 W2_text1 W2_box2 W2_text2 W2_box3 W2_text3,...
       n_box, n_text];

  set(fig,'userdata',H,'nextplot','new')

  % INSTRUCTION TEXT
  feval(me,'instr');

  % LOCK WINDOW
  set(fig,...
   'nextplot','new',...
   'color',nnltgray);

  nnchkfs;

%==================================================================
% Display the instructions.
%
% ME('instr')
%==================================================================

elseif strcmp(cmd,'instr') & (fig)
  nnsettxt(desc_text,...
    'Click [Fruit] to send',...
    'a fruit down the belt.',...
    'Click [Update] to apply',...
    'the instar rule.',...
    '',...
    'Once the network has',...
    'seen a few oranges',...
    'it will recognize',...
    'them by their shape,',...
    'texture, and weight,',...
    'even if the first',...
    'scanner is off.')
    
%==================================================================
% Respond to fruit.
%
% ME('fruit')
%==================================================================

elseif strcmp(cmd,'go') & (fig) & (nargin == 1) & (mode == 1);

  % GET DATA
  wind = get(sounds(1),'userdata');
  knock = get(sounds(2),'userdata');
  scan = get(sounds(3),'userdata');
  classify = get(sounds(4),'userdata');
  blip = get(sounds(5),'userdata');
  bloop = get(sounds(6),'userdata');
  blp = get(sounds(7),'userdata');
  tribble = get(sounds(8),'userdata');
  angle = get(angle_ptr,'userdata');
  fruit = get(fruit_ptr,'userdata');
  axes(fig_axis);

  % NEW FRUIT
  nnpause(pause1)
  x = 82;
  y = 42;

  % FRUIT ID, COLOR & SHAPE

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产伦精品一区二区三区视频青涩 | 亚洲6080在线| 国产精品91xxx| 欧美日韩不卡视频| 自拍视频在线观看一区二区| 精品一区二区在线免费观看| 欧美性猛交xxxx乱大交退制版 | 日韩欧美你懂的| 精品乱人伦一区二区三区| 久久久精品影视| 日韩经典一区二区| 日本精品一区二区三区高清 | 色综合天天综合在线视频| 欧美大片一区二区三区| 亚洲小少妇裸体bbw| 成人高清免费在线播放| 精品国产免费视频| 日本在线观看不卡视频| 欧美日韩午夜影院| 亚洲黄色性网站| 99久久久国产精品| 亚洲国产成人自拍| 国产高清久久久久| 26uuu久久综合| 精品系列免费在线观看| 欧美一区二区视频在线观看2022| 亚洲图片欧美一区| 色老汉一区二区三区| 一色屋精品亚洲香蕉网站| 成人国产视频在线观看| 国产日韩欧美a| 国产成人在线视频网址| 久久久亚洲精品石原莉奈| 精品一区二区影视| 欧美成人一区二区| 精品在线一区二区三区| 精品久久国产97色综合| 捆绑调教一区二区三区| 日韩区在线观看| 久久成人av少妇免费| 精品国产亚洲在线| 精品一区二区三区蜜桃| 精品日韩一区二区三区| 韩国av一区二区三区| 国产校园另类小说区| 国产不卡免费视频| 国产精品你懂的| 97久久超碰精品国产| 亚洲视频免费观看| 欧美亚洲禁片免费| 图片区日韩欧美亚洲| 91精品国产aⅴ一区二区| 全部av―极品视觉盛宴亚洲| 日韩欧美色综合| 国产精品夜夜嗨| 国产精品视频在线看| 99久久精品免费看| 亚洲一区二区四区蜜桃| 欧美日韩一级二级三级| 人妖欧美一区二区| 久久婷婷成人综合色| 成人精品一区二区三区四区| ...中文天堂在线一区| 欧美在线高清视频| 琪琪久久久久日韩精品| 久久久777精品电影网影网 | 另类小说色综合网站| 国产亚洲污的网站| 色视频一区二区| 视频一区二区三区在线| 精品国产乱码久久| a级精品国产片在线观看| 亚洲一二三区不卡| 日韩欧美第一区| 成人午夜视频在线| 一区二区三区在线免费| 日韩三区在线观看| 北条麻妃一区二区三区| 亚洲一区在线观看网站| 欧美mv日韩mv亚洲| av不卡免费电影| 亚洲一区二区三区小说| 精品福利一区二区三区免费视频| 一区二区三区在线视频观看| 91精品婷婷国产综合久久竹菊| 韩日av一区二区| 成人欧美一区二区三区视频网页| 在线观看一区日韩| 精品一区二区免费| 亚洲视频小说图片| 日韩一卡二卡三卡| 99国产一区二区三精品乱码| 午夜视黄欧洲亚洲| 国产亚洲精品资源在线26u| 91久久人澡人人添人人爽欧美| 日本系列欧美系列| 国产精品视频在线看| 欧美精品777| caoporn国产一区二区| 男女激情视频一区| 国产精品久久久久影院老司| 欧美疯狂性受xxxxx喷水图片| 国产成人午夜电影网| 亚洲va天堂va国产va久| 国产日韩欧美精品电影三级在线| 欧美三级日韩在线| 成人福利视频在线| 蜜臀av一区二区在线观看| 亚洲三级免费观看| 精品国产一区二区三区忘忧草| 91豆麻精品91久久久久久| 国产麻豆精品在线| 日韩电影在线观看网站| **欧美大码日韩| 久久久噜噜噜久噜久久综合| 欧美精品一区二区三区视频 | 国产午夜亚洲精品不卡| 欧美亚男人的天堂| 成人一级片在线观看| 免费成人在线观看| 亚洲观看高清完整版在线观看| 中文一区二区在线观看| 日韩美女主播在线视频一区二区三区| 91视频观看视频| 国产电影精品久久禁18| 麻豆91在线看| 亚洲成人免费在线观看| 日韩毛片精品高清免费| 国产午夜精品美女毛片视频| 欧美日韩精品一区二区| 一本一本久久a久久精品综合麻豆| 国产一区二区三区蝌蚪| 日本不卡的三区四区五区| 洋洋av久久久久久久一区| 欧美激情在线看| 久久日韩精品一区二区五区| 91麻豆精品久久久久蜜臀| 欧美三级在线视频| 欧美亚洲综合色| 99久久精品99国产精品| 国产综合色视频| 免费精品视频在线| 图片区小说区区亚洲影院| 亚洲国产中文字幕| 一区二区三区在线高清| 亚洲人成人一区二区在线观看| 国产女人18水真多18精品一级做| 日韩欧美123| 日韩免费视频一区| 日韩欧美成人一区| 91精品国产综合久久婷婷香蕉| 欧美午夜精品久久久久久超碰| 91福利在线导航| 在线精品视频一区二区三四| 91国产免费观看| 欧美天天综合网| 欧美性欧美巨大黑白大战| 欧美视频一区二区三区| 欧美日韩综合在线免费观看| 欧美亚州韩日在线看免费版国语版| 色婷婷激情久久| 欧美色涩在线第一页| 欧美日韩大陆在线| 91精品欧美综合在线观看最新 | 高清在线不卡av| 粉嫩av一区二区三区粉嫩| 国产精品18久久久久久久久久久久| 激情六月婷婷久久| 国产精品自拍一区| 成人一级片网址| 99久久精品免费看国产| 日本精品一区二区三区高清| 欧美怡红院视频| 91精品国产福利| 欧美精品一区二区三区蜜桃 | 91精品国产综合久久久久久| 日韩欧美国产电影| 国产午夜精品久久久久久久| 国产精品亲子乱子伦xxxx裸| 亚洲精品视频在线观看免费 | 亚洲日本成人在线观看| 一区二区三区在线免费视频 | 国产精品美女久久久久久久| 18欧美亚洲精品| 亚洲成av人片| 狠狠网亚洲精品| av中文字幕不卡| 欧美三级在线看| 欧美精品一区二区不卡 | 欧美日韩成人一区二区| 日韩欧美国产三级电影视频| 久久精品夜夜夜夜久久| 一区在线观看视频| 天堂在线亚洲视频| 国产精品一区二区不卡| 91视频一区二区| 日韩色视频在线观看| 国产精品无遮挡| 香蕉成人伊视频在线观看| 日韩不卡一区二区三区|