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

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

?? kmeans.m

?? Bayes網絡工具箱
?? M
字號:
function [centres, options, post, errlog] = kmeans(centres, data, options)%KMEANS	Trains a k means cluster model.%%	Description%	 CENTRES = KMEANS(CENTRES, DATA, OPTIONS) uses the batch K-means%	algorithm to set the centres of a cluster model. The matrix DATA%	represents the data which is being clustered, with each row%	corresponding to a vector. The sum of squares error function is used.%	The point at which a local minimum is achieved is returned as%	CENTRES.  The error value at that point is returned in OPTIONS(8).%%	[CENTRES, OPTIONS, POST, ERRLOG] = KMEANS(CENTRES, DATA, OPTIONS)%	also returns the cluster number (in a one-of-N encoding) for each%	data point in POST and a log of the error values after each cycle in%	ERRLOG.    The optional parameters have the following%	interpretations.%%	OPTIONS(1) is set to 1 to display error values; also logs error%	values in the return argument ERRLOG. If OPTIONS(1) is set to 0, then%	only warning messages are displayed.  If OPTIONS(1) is -1, then%	nothing is displayed.%%	OPTIONS(2) is a measure of the absolute precision required for the%	value of CENTRES at the solution.  If the absolute difference between%	the values of CENTRES between two successive steps is less than%	OPTIONS(2), then this condition is satisfied.%%	OPTIONS(3) is a measure of the precision required of the error%	function at the solution.  If the absolute difference between the%	error functions between two successive steps is less than OPTIONS(3),%	then this condition is satisfied. Both this and the previous%	condition must be satisfied for termination.%%	OPTIONS(14) is the maximum number of iterations; default 100.%%	See also%	GMMINIT, GMMEM%%	Copyright (c) Christopher M Bishop, Ian T Nabney (1996, 1997)[ndata, data_dim] = size(data);[ncentres, dim] = size(centres);if dim ~= data_dim  error('Data dimension does not match dimension of centres')endif (ncentres > ndata)  error('More centres than data')end% Sort out the optionsif (options(14))  niters = options(14);else  niters = 100;endstore = 0;if (nargout > 3)  store = 1;  errlog = zeros(1, niters);end% Check if centres and posteriors need to be initialised from dataif (options(5) == 1)  % Do the initialisation  perm = randperm(ndata);  perm = perm(1:ncentres);  % Assign first ncentres (permuted) data points as centres  centres = data(perm, :);end% Matrix to make unit vectors easy to constructid = eye(ncentres);% Main loop of algorithmfor n = 1:niters  % Save old centres to check for termination  old_centres = centres;    % Calculate posteriors based on existing centres  d2 = dist2(data, centres);  % Assign each point to nearest centre  [minvals, index] = min(d2', [], 1);  post = id(index,:);  num_points = sum(post, 1);  % Adjust the centres based on new posteriors  for j = 1:ncentres    if (num_points(j) > 0)      centres(j,:) = sum(data(find(post(:,j)),:), 1)/num_points(j);    end  end  % Error value is total squared distance from cluster centres  e = sum(minvals);  if store    errlog(n) = e;  end  if options(1) > 0    fprintf(1, 'Cycle %4d  Error %11.6f\n', n, e);  end  if n > 1    % Test for termination    if max(max(abs(centres - old_centres))) < options(2) & ...        abs(old_e - e) < options(3)      options(8) = e;      return;    end  end  old_e = e;end% If we get here, then we haven't terminated in the given number of % iterations.options(8) = e;%if (options(1) >= 0)%  disp('Warning: Maximum number of iterations has been exceeded');%end

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩一区国产| 亚洲人妖av一区二区| 欧美高清一级片在线观看| 亚洲国产视频一区| 国产91高潮流白浆在线麻豆| 制服丝袜中文字幕一区| 国产精品国产馆在线真实露脸| 青青草原综合久久大伊人精品优势| 成人a免费在线看| 2023国产精华国产精品| 亚洲一区二区三区影院| 99re成人精品视频| 久久女同性恋中文字幕| 男女男精品视频| 欧美精品丝袜中出| 亚洲一二三四区不卡| 色婷婷久久一区二区三区麻豆| 国产精品免费视频网站| 国产精品一区二区久激情瑜伽 | 亚洲在线观看免费视频| 国产酒店精品激情| 精品人在线二区三区| 天堂成人免费av电影一区| 色狠狠桃花综合| 亚洲视频免费在线| 99久久777色| 亚洲情趣在线观看| 一本一道波多野结衣一区二区| 国产精品久久久久久久久图文区 | 久久久久久久久伊人| 日本美女视频一区二区| 欧美日韩久久久久久| 一区二区久久久久久| 色婷婷av一区二区三区大白胸 | 国产视频一区在线观看| 韩国av一区二区三区| 日韩午夜在线影院| 精品中文av资源站在线观看| 欧美一级日韩不卡播放免费| 欧美aaa在线| 精品91自产拍在线观看一区| 国产自产视频一区二区三区| 精品国产不卡一区二区三区| 国产一区日韩二区欧美三区| 久久精品欧美一区二区三区不卡| 国产成人av网站| 国产精品嫩草影院av蜜臀| 91免费视频观看| 亚洲国产中文字幕| 制服视频三区第一页精品| 美腿丝袜亚洲色图| 国产日韩av一区| 91欧美激情一区二区三区成人| 亚洲自拍偷拍麻豆| 日韩免费一区二区| 成人动漫av在线| 亚洲r级在线视频| 日韩欧美中文字幕公布| 国产福利一区二区| 亚洲一级不卡视频| 精品国产亚洲在线| eeuss鲁片一区二区三区在线看| 有坂深雪av一区二区精品| 在线播放中文一区| 丁香五精品蜜臀久久久久99网站| 亚洲精品免费在线观看| 欧美一级欧美三级| 成人激情综合网站| 日本欧美一区二区在线观看| 欧美国产精品中文字幕| 欧美日韩高清一区二区不卡| 国产一区二区三区在线观看免费| 一色屋精品亚洲香蕉网站| 欧美日韩成人一区二区| 成人永久aaa| 裸体一区二区三区| 亚洲美女一区二区三区| 亚洲精品一区二区在线观看| 在线视频欧美精品| 国产电影精品久久禁18| 日韩国产精品久久| 一区二区三区在线观看网站| 精品国产成人系列| 7777精品伊人久久久大香线蕉的| 成人午夜在线视频| 韩国成人在线视频| 日韩精品一二三区| 亚洲欧美另类久久久精品2019| 久久综合九色综合97婷婷女人| 欧美视频一区在线| 91原创在线视频| 国产凹凸在线观看一区二区| 美女国产一区二区三区| 亚洲h精品动漫在线观看| 亚洲天天做日日做天天谢日日欢| www国产亚洲精品久久麻豆| 正在播放一区二区| 欧美日韩精品一区二区三区| 91视频一区二区| 成人av免费观看| 粉嫩久久99精品久久久久久夜| 韩国中文字幕2020精品| 日韩精彩视频在线观看| 亚洲图片另类小说| 亚洲欧美综合网| 中文字幕精品在线不卡| 国产婷婷一区二区| 国产亚洲人成网站| 国产亚洲一区字幕| 久久久av毛片精品| 久久精品一区二区| 久久久精品国产免大香伊| 精品久久久久久久久久久久包黑料 | 久久久综合九色合综国产精品| 日韩视频123| 日韩免费看网站| 日韩女优制服丝袜电影| 精品入口麻豆88视频| 久久久亚洲精品石原莉奈 | 亚洲精品国久久99热| 亚洲视频一区在线| 一区二区三区免费| 亚洲欧美日韩国产成人精品影院| 亚洲精品欧美激情| 亚洲大片精品永久免费| 日韩和的一区二区| 精品亚洲免费视频| 国产91色综合久久免费分享| 成人午夜精品一区二区三区| av在线播放成人| 欧美日韩一区三区四区| 日韩一区二区三区观看| 久久综合色8888| 国产精品免费aⅴ片在线观看| 亚洲人成7777| 亚洲成人激情社区| 激情国产一区二区| 成人avav影音| 欧美三级日本三级少妇99| 欧美成人猛片aaaaaaa| 久久久久九九视频| 一区二区三区四区精品在线视频| 亚洲一区中文在线| 经典一区二区三区| 白白色 亚洲乱淫| 欧美久久久久中文字幕| 久久久美女毛片| 一区二区日韩电影| 国产自产高清不卡| 欧美艳星brazzers| 欧美精品一区二| 亚洲精品菠萝久久久久久久| 蜜乳av一区二区| 99re这里只有精品首页| 日韩精品一区二区在线观看| 国产精品久久久久久久午夜片 | 国产精品538一区二区在线| 99麻豆久久久国产精品免费| 在线不卡中文字幕播放| 中文字幕视频一区| 久久精品国产一区二区三区免费看| 成人毛片在线观看| 91精品国产综合久久久久久久久久 | 男人的j进女人的j一区| 91在线精品一区二区| 欧美r级在线观看| 午夜欧美2019年伦理| 成人国产精品免费观看视频| 日韩网站在线看片你懂的| 亚洲精品免费电影| 国产精品亚洲一区二区三区妖精 | 亚洲高清久久久| 成人免费毛片片v| 亚洲精品一区二区三区蜜桃下载| 午夜久久久久久电影| 成人久久视频在线观看| 精品国产免费一区二区三区香蕉| 亚洲国产视频网站| 91免费视频大全| 国产精品精品国产色婷婷| 国产一区二三区| 欧美一区二区精美| 三级欧美在线一区| 欧美猛男男办公室激情| 一区二区三区四区在线播放| 99re8在线精品视频免费播放| 中文字幕av不卡| 国产精品一区二区三区99| 精品国产自在久精品国产| 日韩主播视频在线| 制服丝袜亚洲精品中文字幕| 亚洲自拍偷拍九九九| 日本道精品一区二区三区 | 在线欧美日韩精品| 1区2区3区国产精品| 成人av资源站| 亚洲天堂福利av| 91蜜桃在线观看| 亚洲免费资源在线播放| 色哟哟一区二区三区|