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

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

?? kmeansnetlab.m

?? 能夠簡單識別0~9十個數字的matlab程序
?? 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')
end

if (ncentres > ndata)
  error('More centres than data')
end

% Sort out the options
if (options(14))
  niters = options(14);
else
  niters = 100;
end

store = 0;
if (nargout > 3)
  store = 1;
  errlog = zeros(1, niters);
end

% Check if centres and posteriors need to be initialised from data
if (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 construct
id = eye(ncentres);

% Main loop of algorithm
for 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(maxitmess);
end

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品国产乱码久久久久久久| 亚洲成人综合网站| 一区二区三区在线视频播放| 日本中文字幕一区二区视频 | 日韩欧美一区二区三区在线| 中文字幕国产一区| 另类综合日韩欧美亚洲| 色激情天天射综合网| 中文字幕av在线一区二区三区| 日韩综合小视频| 欧美综合亚洲图片综合区| 国产免费成人在线视频| 久久福利视频一区二区| 欧美一级片免费看| 亚洲午夜羞羞片| 欧美在线播放高清精品| 椎名由奈av一区二区三区| 国产成人在线色| 国产午夜久久久久| 韩国精品在线观看| 精品国产免费视频| 捆绑紧缚一区二区三区视频 | 亚洲一区二区av电影| 不卡一区二区中文字幕| 国产欧美精品国产国产专区| 久久成人久久鬼色| 欧美xxxxxxxx| 国精产品一区一区三区mba视频| 日韩欧美在线网站| 久久99精品久久久| 欧美成人三级在线| 韩国精品免费视频| 欧美国产禁国产网站cc| 成人国产亚洲欧美成人综合网| 国产精品乱人伦一区二区| 从欧美一区二区三区| 国产精品美女久久久久久2018| 成人av电影观看| 一区二区三区四区中文字幕| 色88888久久久久久影院野外| 亚洲制服丝袜av| 欧美精品99久久久**| 日本不卡1234视频| 久久影音资源网| 成人av网站在线观看免费| 亚洲天天做日日做天天谢日日欢 | 国产精品乡下勾搭老头1| 久久免费精品国产久精品久久久久| 国产一区二区导航在线播放| 日本一区二区高清| 91在线无精精品入口| 性做久久久久久| 精品日韩av一区二区| 成人一区二区三区视频| 136国产福利精品导航| 欧美吞精做爰啪啪高潮| 久草这里只有精品视频| 中文字幕不卡在线观看| 欧美影院一区二区三区| 老司机精品视频一区二区三区| 国产欧美一二三区| 日本精品视频一区二区| 久久国产欧美日韩精品| 中文字幕在线不卡一区二区三区| 欧美日韩国产bt| 国产一区视频导航| 亚洲美女偷拍久久| 26uuu另类欧美| 97se狠狠狠综合亚洲狠狠| 日韩在线一区二区三区| 国产精品免费久久| 欧美一区二区三区公司| 99热国产精品| 九色|91porny| 一区二区久久久久久| 久久精品欧美一区二区三区不卡 | 亚洲一区二区成人在线观看| 久久久国产精华| 在线播放一区二区三区| 成人性生交大片免费| 美女视频黄 久久| 亚洲另类在线视频| 国产三级三级三级精品8ⅰ区| 欧美日韩一区在线| 91在线云播放| 国产精品一区二区在线看| 日本人妖一区二区| 亚洲自拍欧美精品| 中文字幕一区二区三区蜜月| 精品美女在线观看| 7777精品伊人久久久大香线蕉的 | 久久久欧美精品sm网站| 欧美日韩亚洲综合在线 欧美亚洲特黄一级| 国产精品一区免费在线观看| 日产精品久久久久久久性色| 亚洲韩国一区二区三区| 最新热久久免费视频| 国产精品护士白丝一区av| 国产校园另类小说区| 日韩欧美国产一区二区在线播放 | 在线观看一区二区精品视频| av不卡一区二区三区| 不卡区在线中文字幕| 国产成人鲁色资源国产91色综 | 国产欧美一区二区三区网站| 精品成人一区二区三区四区| 日韩视频在线永久播放| 欧美日韩视频在线第一区 | 精品久久免费看| 精品区一区二区| 欧美精品一区二区三区蜜桃视频 | 在线不卡一区二区| 欧美日韩视频在线一区二区| 欧美三级电影在线观看| 欧美日韩国产经典色站一区二区三区| 欧美综合亚洲图片综合区| 欧美亚洲一区三区| 欧美色图片你懂的| 欧美日韩高清一区二区不卡| 欧美精品免费视频| 91精品国产综合久久香蕉的特点| 欧美精品色一区二区三区| 在线播放中文一区| 久久综合视频网| 国产精品你懂的在线| 中文字幕一区二区视频| 亚洲精品国久久99热| 亚洲不卡av一区二区三区| 日本视频一区二区| 国产精品自拍毛片| www.亚洲人| 欧美日韩高清一区| 久久综合久久综合久久综合| 国产午夜精品福利| 亚洲人成在线观看一区二区| 亚洲伊人色欲综合网| 蜜臀精品久久久久久蜜臀| 国产一区二区三区精品欧美日韩一区二区三区 | 中文字幕久久午夜不卡| 最近中文字幕一区二区三区| 成人一级黄色片| 欧美午夜一区二区三区免费大片| 99久久99久久精品国产片果冻| 91高清在线观看| 欧美一区二区三区婷婷月色| 久久久天堂av| 一区二区三区日韩在线观看| 久久91精品久久久久久秒播| 成人午夜激情在线| 91精品国产综合久久蜜臀| 欧美激情一区二区三区不卡| 亚洲一区二区三区四区在线| 国产麻豆一精品一av一免费| 欧美性感一类影片在线播放| xnxx国产精品| 亚洲成人中文在线| 波多野结衣一区二区三区 | 香蕉成人伊视频在线观看| 国产一区二区三区黄视频 | 91高清在线观看| 精品国产乱码久久久久久图片| 亚洲欧美激情一区二区| 精品在线观看免费| 欧美色涩在线第一页| 日本一区二区三级电影在线观看| 偷拍亚洲欧洲综合| 91丝袜美腿高跟国产极品老师| 日韩一区二区不卡| 亚洲电影一区二区三区| 成人动漫av在线| 久久亚洲二区三区| 午夜精品福利一区二区蜜股av | 一区二区久久久久| 国产精品白丝av| 日韩欧美国产成人一区二区| 亚洲精品视频在线看| 成人午夜视频福利| 久久久五月婷婷| 久草这里只有精品视频| 欧美日韩国产高清一区二区| 亚洲欧美日韩国产综合在线| 国产精品一区二区三区99| 欧美一区二区精美| 日韩国产在线观看一区| 91激情五月电影| 一区二区三区在线视频免费观看| 99在线精品一区二区三区| 国产欧美日韩精品一区| 国产九色精品成人porny| 精品久久99ma| 激情国产一区二区| 精品人在线二区三区| 久久精品国产在热久久| 欧美电影免费观看高清完整版 | 久久综合九色综合欧美亚洲| 激情成人午夜视频| 精品国产露脸精彩对白| 久久超碰97中文字幕| 精品国精品国产| 狠狠色丁香久久婷婷综合丁香|