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

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

?? kmeans.m

?? this is also good for learning SVM algorithm
?? 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) Ian T Nabney (1996-2001)[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一区二区三区免费野_久草精品视频
久久伊人中文字幕| 久久精品国产999大香线蕉| 午夜精品久久久久久久99水蜜桃| 美女一区二区在线观看| 91污片在线观看| 久久蜜桃av一区二区天堂| 一区二区视频在线看| 国产在线国偷精品产拍免费yy| 欧美日韩亚州综合| 亚洲天堂成人在线观看| 国产美女精品人人做人人爽 | 国产中文字幕精品| 欧美三电影在线| 亚洲欧美日韩中文字幕一区二区三区 | 久久91精品国产91久久小草| 精品视频一区三区九区| 亚洲视频一区二区在线| 成人毛片老司机大片| 日韩精品专区在线影院重磅| 视频一区二区国产| 欧美另类z0zxhd电影| 一区二区三区中文字幕| 色综合天天天天做夜夜夜夜做| 久久亚洲一区二区三区明星换脸| 日本怡春院一区二区| 欧美久久高跟鞋激| 天堂av在线一区| 欧美日韩免费观看一区三区| 亚洲一区在线观看网站| 色八戒一区二区三区| 亚洲精品乱码久久久久久日本蜜臀| 国产高清久久久久| 国产精品久久久久国产精品日日| 成人一区二区三区中文字幕| 日本一区二区视频在线| 成人手机在线视频| 国产精品国产自产拍高清av| 国产不卡免费视频| 欧美高清一级片在线观看| 成人一区二区三区中文字幕| 国产精品福利影院| 色av一区二区| 丝袜美腿成人在线| 亚洲精品一区二区精华| 激情深爱一区二区| 日本一区二区三区在线不卡| 99在线精品观看| 亚洲精品一二三| 69精品人人人人| 久久精品国产免费看久久精品| 精品日韩一区二区三区免费视频| 国产毛片一区二区| 亚洲人成人一区二区在线观看| 色婷婷亚洲婷婷| 免费在线一区观看| 欧美高清在线一区二区| 色婷婷综合中文久久一本| 亚洲va欧美va人人爽| 久久色在线视频| 色悠久久久久综合欧美99| 日韩av电影天堂| 亚洲国产成人在线| 欧美午夜精品电影| 国产麻豆视频一区| 亚洲欧美日韩国产手机在线| 欧美一级高清片在线观看| 国产成人av电影在线观看| 亚洲国产中文字幕在线视频综合| 欧美变态口味重另类| 91蜜桃婷婷狠狠久久综合9色| 亚洲成人动漫av| 国产欧美日本一区二区三区| 在线这里只有精品| 国产精品系列在线观看| 亚洲成人av一区二区| 国产欧美日本一区二区三区| 欧美日韩国产一级二级| 丰满亚洲少妇av| 看电视剧不卡顿的网站| 亚洲综合精品自拍| 国产精品污www在线观看| 欧美老肥妇做.爰bbww视频| 成人av集中营| 国内精品国产三级国产a久久| 亚洲国产日韩av| **欧美大码日韩| 欧美精品一区二区三区很污很色的 | 亚洲摸摸操操av| 精品国产第一区二区三区观看体验 | 一区二区在线观看视频| 久久精品夜色噜噜亚洲a∨| 欧美精品第一页| 91欧美激情一区二区三区成人| 国产剧情一区二区三区| 免费精品视频在线| 天天综合色天天综合| 亚洲免费资源在线播放| 性感美女久久精品| 亚洲欧美在线视频观看| 中文字幕av一区二区三区| 2023国产一二三区日本精品2022| 7777精品伊人久久久大香线蕉经典版下载 | 国产.欧美.日韩| 黑人精品欧美一区二区蜜桃 | 精品久久一区二区三区| 欧美精品乱码久久久久久按摩| 色综合久久久久综合99| 91浏览器在线视频| 97aⅴ精品视频一二三区| 不卡的看片网站| 丁香婷婷深情五月亚洲| 国产乱码精品一区二区三区五月婷 | 亚洲国产视频在线| 一区二区三区四区精品在线视频| 亚洲乱码中文字幕| 亚洲免费观看高清完整版在线| 最新日韩在线视频| 亚洲天堂中文字幕| 亚洲夂夂婷婷色拍ww47| 一二三区精品福利视频| 亚洲成av人**亚洲成av**| 午夜精品久久久久久久| 麻豆91精品视频| 国产精品一线二线三线| 成人成人成人在线视频| 91女人视频在线观看| 精品视频在线免费观看| 91精品免费在线观看| 精品国一区二区三区| 欧美极品少妇xxxxⅹ高跟鞋| 亚洲欧洲在线观看av| 亚洲国产精品影院| 久草这里只有精品视频| 国产成人综合亚洲网站| 一本到三区不卡视频| 91精品国产乱| 久久精品人人爽人人爽| 亚洲伦在线观看| 日本中文字幕一区二区有限公司| 国产在线视频精品一区| www.在线欧美| 91精品久久久久久久99蜜桃| 久久久久国产免费免费| 一区二区视频在线看| 九九在线精品视频| 91网址在线看| 精品少妇一区二区| 日韩伦理av电影| 蜜桃久久久久久| 91在线观看下载| 欧美一区二区三区四区在线观看 | 天天影视色香欲综合网老头| 国产露脸91国语对白| 日本精品一区二区三区高清| 精品国产乱子伦一区| 国产精品热久久久久夜色精品三区| 亚洲综合在线免费观看| 蜜臀av亚洲一区中文字幕| www.欧美日韩国产在线| 在线电影欧美成精品| 亚洲一区二区欧美激情| 国产最新精品免费| 欧美日韩亚洲综合在线 欧美亚洲特黄一级 | 久久精品国产澳门| 亚洲男人的天堂在线观看| 欧美国产激情二区三区| 亚洲国产毛片aaaaa无费看| 精品无码三级在线观看视频| 99久久国产综合精品女不卡| 日韩午夜激情av| 亚洲精品亚洲人成人网在线播放| 国产综合色视频| 欧美片网站yy| 欧美一级片免费看| 亚洲美女免费视频| 欧美日韩国产综合一区二区三区| 亚洲第一成人在线| 欧美久久一区二区| 蜜臀精品一区二区三区在线观看| 精品国产乱码久久久久久夜甘婷婷 | jizzjizzjizz欧美| 18涩涩午夜精品.www| 欧美亚洲精品一区| 蜜臀av性久久久久蜜臀aⅴ| 久久综合色之久久综合| 成人综合婷婷国产精品久久| 亚洲天堂久久久久久久| 欧美三级三级三级| 寂寞少妇一区二区三区| 国产免费观看久久| 色妞www精品视频| 日本欧美大码aⅴ在线播放| 久久精品夜夜夜夜久久| 色综合网站在线| 蜜臀va亚洲va欧美va天堂| 中文一区在线播放| 51久久夜色精品国产麻豆| 国产精品系列在线播放| 一区二区三国产精华液| 精品日韩一区二区三区|