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

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

?? kmeans.m

?? 有關kalman濾波及其一些變形濾波算法
?? 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一区二区三区免费野_久草精品视频
欧美精品1区2区3区| 亚洲欧美日韩国产一区二区三区| 91麻豆精品国产自产在线| 91国偷自产一区二区三区观看 | 99国产精品视频免费观看| 成人精品在线视频观看| 成人激情校园春色| 97aⅴ精品视频一二三区| 色天使色偷偷av一区二区| 色综合久久中文字幕综合网| 一本色道久久加勒比精品| 久久综合色一综合色88| 久久天天做天天爱综合色| 久久久亚洲欧洲日产国码αv| 精品国产乱码久久久久久久久| 久久午夜电影网| 国产精品毛片大码女人| 亚洲精品免费视频| 五月天欧美精品| 久久不见久久见中文字幕免费| 国产在线精品一区二区夜色 | 欧美日韩中文一区| 8x8x8国产精品| 欧美大片在线观看| 国产区在线观看成人精品| 综合色中文字幕| 亚洲第四色夜色| 韩国毛片一区二区三区| 成人精品免费视频| 欧美综合一区二区三区| 日韩西西人体444www| 国产日韩一级二级三级| 亚洲免费在线看| 日本三级韩国三级欧美三级| 精品一区二区免费视频| 99久久免费视频.com| 欧美日韩久久一区二区| 久久久久久麻豆| 一区二区三区中文免费| 免费精品视频在线| thepron国产精品| 欧美丰满高潮xxxx喷水动漫| 国产亚洲综合av| 一区二区三区欧美视频| 国产综合成人久久大片91| 一本到高清视频免费精品| 欧美成人高清电影在线| 国产精品成人网| 日日夜夜免费精品| 懂色中文一区二区在线播放| 在线观看日韩电影| 久久蜜桃一区二区| 亚洲一区在线观看视频| 国产在线视频不卡二| 欧美天天综合网| 欧美激情一区二区| 日日夜夜一区二区| 一本久久a久久免费精品不卡| 日韩精品一区二区在线| 亚洲精品美腿丝袜| 粉嫩一区二区三区在线看| 欧美一区二区三区视频免费播放| 国产欧美日韩在线看| 日本欧美一区二区三区乱码| 91亚洲午夜精品久久久久久| 日韩久久久精品| 亚洲成人综合网站| 91色婷婷久久久久合中文| 精品国产91久久久久久久妲己| 亚洲自拍偷拍综合| 国产精品乱人伦中文| 韩国精品主播一区二区在线观看 | 成人动漫中文字幕| 亚洲精品一区二区三区精华液| 亚洲蜜桃精久久久久久久| 国产剧情一区二区三区| 91精品国模一区二区三区| 有码一区二区三区| 99久久精品免费看| 亚洲国产成人午夜在线一区| 韩国欧美国产1区| 日韩午夜在线播放| 丝袜诱惑制服诱惑色一区在线观看| av不卡在线播放| 亚洲国产精品成人综合色在线婷婷| 精品在线播放免费| 日韩欧美精品在线| 青娱乐精品视频在线| 欧美日韩视频一区二区| 一区二区三区四区高清精品免费观看 | 久久久av毛片精品| 国产综合色产在线精品| 欧美va日韩va| 精品伊人久久久久7777人| 日韩一级黄色片| 奇米精品一区二区三区在线观看 | 亚洲三级在线观看| 97se亚洲国产综合在线| 亚洲欧洲日韩女同| av电影一区二区| 中文字幕在线一区免费| 成人精品免费网站| 亚洲三级免费观看| 91麻豆swag| 亚洲综合一区在线| 欧美午夜片在线观看| 一区二区三区成人在线视频| 欧美视频一区二区三区在线观看| 亚洲国产日韩一级| 6080yy午夜一二三区久久| 日韩国产在线观看一区| 91精品国产黑色紧身裤美女| 日本视频一区二区| 精品国产免费久久| 大胆欧美人体老妇| 亚洲欧美激情小说另类| 欧美性色黄大片| 蜜臀久久99精品久久久画质超高清| 日韩欧美二区三区| 国产剧情在线观看一区二区| 国产精品午夜春色av| 91美女在线观看| 亚洲gay无套男同| 日韩一区二区视频| 久久久久99精品一区| 国产91精品精华液一区二区三区| 综合久久久久久久| 欧美日韩一区二区三区四区五区| 麻豆国产精品官网| 国产精品视频你懂的| 精品视频在线视频| 琪琪久久久久日韩精品| 日韩成人午夜精品| 日韩免费高清电影| av电影在线不卡| 首页国产欧美日韩丝袜| 久久久久久久久久久99999| 97se亚洲国产综合自在线观| 亚洲mv在线观看| 国产日韩精品视频一区| 欧美亚洲国产bt| 国产一区二区三区免费看| 综合久久久久久| 日韩欧美激情四射| 91女厕偷拍女厕偷拍高清| 日韩中文字幕不卡| 国产精品麻豆视频| 日韩一级免费观看| 99久久综合狠狠综合久久| 日韩二区三区在线观看| 国产精品乱码一区二三区小蝌蚪| 欧美精品日韩一本| 成人av第一页| 六月丁香婷婷久久| 依依成人综合视频| 国产日韩精品一区二区浪潮av| 欧美日韩中文一区| thepron国产精品| 经典三级在线一区| 亚洲一级不卡视频| 国产精品久久久久久亚洲伦| 91精品国产福利| 在线视频国内自拍亚洲视频| 国产精品77777竹菊影视小说| 亚洲国产wwwccc36天堂| 欧美国产日韩一二三区| 欧美一区二区三区在线看| 91在线云播放| 丁香婷婷深情五月亚洲| 久久国产麻豆精品| 亚洲午夜免费视频| 中文字幕中文字幕一区二区| 欧美成人vr18sexvr| 欧美日韩精品三区| 91久久精品国产91性色tv| 国产一区二区在线视频| 日本不卡一二三区黄网| 一区二区欧美精品| 国产精品久久久久国产精品日日| 日韩一级视频免费观看在线| 欧洲另类一二三四区| 白白色 亚洲乱淫| 国产成人在线看| 韩国视频一区二区| 裸体健美xxxx欧美裸体表演| 午夜精品福利一区二区三区蜜桃| 亚洲人妖av一区二区| 亚洲国产高清aⅴ视频| 久久久久久久免费视频了| 精品日韩一区二区| 欧美一区三区二区| 欧美日本在线看| 欧美午夜一区二区| 欧美系列一区二区| 欧美在线观看一区二区| 91在线云播放| 色嗨嗨av一区二区三区| 日本高清成人免费播放| 一本到高清视频免费精品| 99精品视频在线播放观看|