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

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

?? kmeansnetlab.m

?? 用Matlab實現的隱蔽馬爾可夫模型(Hidden Markov Model:HMM)
?? 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一区二区三区免费野_久草精品视频
亚洲一区二区成人在线观看| 亚洲欧美日韩综合aⅴ视频| 欧美喷潮久久久xxxxx| av中文字幕一区| www.一区二区| 成人视屏免费看| 成人精品在线视频观看| 国产99久久精品| 成人午夜视频在线| 成人18精品视频| 日本精品一区二区三区四区的功能| 99久久精品99国产精品| 91麻豆成人久久精品二区三区| 91在线观看污| 在线观看网站黄不卡| 欧美在线色视频| 精品粉嫩超白一线天av| 欧美日韩国产精选| 欧美变态口味重另类| 久久久久国产免费免费 | 免费欧美日韩国产三级电影| 美女爽到高潮91| 久久网这里都是精品| 国产亚洲欧洲997久久综合| 精品va天堂亚洲国产| 国产亚洲短视频| 日韩美女久久久| 一区二区成人在线| 性欧美大战久久久久久久久| 激情综合网激情| 成人伦理片在线| 在线看国产一区| 日韩一级完整毛片| 国产精品国产自产拍高清av| 亚洲成人av电影| 国产麻豆精品视频| 欧美视频一区二| 久久久无码精品亚洲日韩按摩| 亚洲男人的天堂一区二区| 青草av.久久免费一区| 成+人+亚洲+综合天堂| 欧美裸体bbwbbwbbw| 国产日韩亚洲欧美综合| 亚洲h精品动漫在线观看| 国产成人8x视频一区二区| 欧洲精品在线观看| 国产亚洲1区2区3区| 日韩在线观看一区二区| 成人午夜视频网站| 日韩精品一区二区三区中文精品| 亚洲男同性视频| 久久国产精品露脸对白| 色乱码一区二区三区88| 久久精品欧美一区二区三区不卡 | 一区二区免费看| 经典一区二区三区| 欧美欧美午夜aⅴ在线观看| 国产精品成人免费精品自在线观看| 亚洲va欧美va人人爽午夜| 91丨九色丨黑人外教| 亚洲国产精品v| 精品亚洲成a人| 欧洲另类一二三四区| 亚洲欧美在线视频观看| 精品亚洲aⅴ乱码一区二区三区| 色94色欧美sute亚洲13| 国产精品高潮呻吟| 国产不卡视频在线观看| 精品久久久久久久久久久久包黑料 | 欧美不卡一二三| 三级一区在线视频先锋| 欧美视频在线观看一区二区| 亚洲毛片av在线| 91日韩一区二区三区| 欧美国产亚洲另类动漫| 成人在线一区二区三区| 欧美国产综合色视频| 成人精品鲁一区一区二区| 久久久久久久久久看片| 国产乱子伦视频一区二区三区| 日韩欧美一区二区免费| 蓝色福利精品导航| 精品国产亚洲在线| 国产一本一道久久香蕉| 久久久久久久久免费| 成人手机电影网| 亚洲人成精品久久久久| 一本到不卡精品视频在线观看| 伊人开心综合网| 在线中文字幕一区| 亚洲黄一区二区三区| 91精品麻豆日日躁夜夜躁| 日本中文字幕一区二区有限公司| 91精品国产免费| 久久99精品国产麻豆婷婷| 26uuu国产在线精品一区二区| 国产精品一区免费视频| 中文字幕免费不卡| 99精品桃花视频在线观看| 一区二区三区丝袜| 日韩一区二区三区视频| 国产传媒欧美日韩成人| 综合精品久久久| 欧美一区二区视频在线观看2022 | 不卡的av在线播放| 亚洲国产精品人人做人人爽| 日韩欧美国产高清| 国产一区二区三区四| 国产精品久线观看视频| 欧美性受xxxx| 国内偷窥港台综合视频在线播放| 国产精品免费丝袜| 91精品午夜视频| 成人午夜电影网站| 日日骚欧美日韩| 国产精品成人免费在线| 欧美一卡2卡3卡4卡| 成人国产精品免费观看动漫| 日韩中文字幕一区二区三区| 中文字幕不卡三区| 91麻豆精品国产综合久久久久久 | 欧美影视一区二区三区| 国产一区免费电影| 一区二区三区在线免费播放| 精品理论电影在线观看 | 欧美一区二区三区视频在线| 高清在线观看日韩| 日韩电影在线一区二区| 亚洲视频一二三区| 精品av久久707| 制服丝袜av成人在线看| 91麻豆精东视频| 丰满岳乱妇一区二区三区| 午夜激情久久久| 亚洲免费电影在线| 国产色综合一区| 日韩欧美高清一区| 在线播放国产精品二区一二区四区 | 91麻豆精品国产无毒不卡在线观看 | 久久众筹精品私拍模特| 91精品中文字幕一区二区三区| 日本丶国产丶欧美色综合| 国产黄色精品网站| 国产精品一区二区在线看| 奇米色777欧美一区二区| 午夜视频在线观看一区二区| 亚洲三级在线播放| 国产精品福利电影一区二区三区四区| 精品精品欲导航| 欧美大尺度电影在线| 欧美一级在线观看| 欧美一二三区在线| 91精品国产综合久久久蜜臀粉嫩| 91高清视频在线| 一本色道久久加勒比精品| 色婷婷激情综合| 欧美专区日韩专区| 91行情网站电视在线观看高清版| 91农村精品一区二区在线| 91美女片黄在线观看| 色婷婷一区二区| 欧美日韩中字一区| 欧美一区二区在线免费观看| 日韩一级高清毛片| 精品久久免费看| 国产欧美日韩不卡| 国产精品蜜臀av| 亚洲欧美日韩国产一区二区三区| 久久久精品免费网站| 久久精品一二三| 亚洲欧美日本韩国| 午夜精品123| 久久97超碰国产精品超碰| 国产精品夜夜嗨| 99久久精品免费看| 欧美日韩在线播| 欧美v日韩v国产v| 国产精品你懂的在线欣赏| 亚洲永久免费视频| 精品一区二区久久久| 国产成人自拍网| 在线亚洲高清视频| 制服丝袜成人动漫| 国产女人18水真多18精品一级做| 成人欧美一区二区三区| 亚洲成人资源在线| 国产成人在线网站| 欧美视频三区在线播放| 欧美mv日韩mv国产网站app| 国产精品国产三级国产普通话99| 五月天亚洲婷婷| 国产麻豆91精品| 欧美三级视频在线| 国产日韩成人精品| 丝袜美腿成人在线| 粉嫩av亚洲一区二区图片| 欧美日韩中文另类| 国产欧美日本一区视频| 日本 国产 欧美色综合| 99国产一区二区三精品乱码|