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

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

?? gmmem.m

?? this is also good for learning SVM algorithm
?? M
字號:
function [mix, options, errlog] = gmmem(mix, x, options)%GMMEM	EM algorithm for Gaussian mixture model.%%	Description%	[MIX, OPTIONS, ERRLOG] = GMMEM(MIX, X, OPTIONS) uses the Expectation%	Maximization algorithm of Dempster et al. to estimate the parameters%	of a Gaussian mixture model defined by a data structure MIX. The%	matrix X represents the data whose expectation is maximized, with%	each row corresponding to a vector.    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(3) is a measure of the absolute precision required of the%	error function at the solution. If the change in log likelihood%	between two steps of the EM algorithm is less than this value, then%	the function terminates.%%	OPTIONS(5) is set to 1 if a covariance matrix is reset to its%	original value when any of its singular values are too small (less%	than MIN_COVAR which has the value eps).   With the default value of%	0 no action is taken.%%	OPTIONS(14) is the maximum number of iterations; default 100.%%	The optional return value OPTIONS contains the final error value%	(i.e. data log likelihood) in OPTIONS(8).%%	See also%	GMM, GMMINIT%%	Copyright (c) Ian T Nabney (1996-2001)% Check that inputs are consistenterrstring = consist(mix, 'gmm', x);if ~isempty(errstring)  error(errstring);end[ndata, xdim] = size(x);% Sort out the optionsif (options(14))  niters = options(14);else  niters = 100;enddisplay = options(1);store = 0;if (nargout > 2)  store = 1;	% Store the error values to return them  errlog = zeros(1, niters);endtest = 0;if options(3) > 0.0  test = 1;	% Test log likelihood for terminationendcheck_covars = 0;if options(5) >= 1  if display >= 0    disp('check_covars is on');  end  check_covars = 1;	% Ensure that covariances don't collapse  MIN_COVAR = eps;	% Minimum singular value of covariance matrix  init_covars = mix.covars;end% Main loop of algorithmfor n = 1:niters    % Calculate posteriors based on old parameters  [post, act] = gmmpost(mix, x);    % Calculate error value if needed  if (display | store | test)    prob = act*(mix.priors)';    % Error value is negative log likelihood of data    e = - sum(log(prob));    if store      errlog(n) = e;    end    if display > 0      fprintf(1, 'Cycle %4d  Error %11.6f\n', n, e);    end    if test      if (n > 1 & abs(e - eold) < options(3))        options(8) = e;        return;      else        eold = e;      end    end  end    % Adjust the new estimates for the parameters  new_pr = sum(post, 1);  new_c = post' * x;    % Now move new estimates to old parameter vectors  mix.priors = new_pr ./ ndata;    mix.centres = new_c ./ (new_pr' * ones(1, mix.nin));    switch mix.covar_type  case 'spherical'    n2 = dist2(x, mix.centres);    for j = 1:mix.ncentres      v(j) = (post(:,j)'*n2(:,j));    end    mix.covars = ((v./new_pr))./mix.nin;    if check_covars      % Ensure that no covariance is too small      for j = 1:mix.ncentres        if mix.covars(j) < MIN_COVAR          mix.covars(j) = init_covars(j);        end      end    end  case 'diag'    for j = 1:mix.ncentres      diffs = x - (ones(ndata, 1) * mix.centres(j,:));      mix.covars(j,:) = sum((diffs.*diffs).*(post(:,j)*ones(1, ...        mix.nin)), 1)./new_pr(j);    end    if check_covars      % Ensure that no covariance is too small      for j = 1:mix.ncentres        if min(mix.covars(j,:)) < MIN_COVAR          mix.covars(j,:) = init_covars(j,:);        end      end    end  case 'full'    for j = 1:mix.ncentres      diffs = x - (ones(ndata, 1) * mix.centres(j,:));      diffs = diffs.*(sqrt(post(:,j))*ones(1, mix.nin));      mix.covars(:,:,j) = (diffs'*diffs)/new_pr(j);    end    if check_covars      % Ensure that no covariance is too small      for j = 1:mix.ncentres        if min(svd(mix.covars(:,:,j))) < MIN_COVAR          mix.covars(:,:,j) = init_covars(:,:,j);        end      end    end  case 'ppca'    for j = 1:mix.ncentres      diffs = x - (ones(ndata, 1) * mix.centres(j,:));      diffs = diffs.*(sqrt(post(:,j))*ones(1, mix.nin));      [tempcovars, tempU, templambda] = ...	ppca((diffs'*diffs)/new_pr(j), mix.ppca_dim);      if length(templambda) ~= mix.ppca_dim	error('Unable to extract enough components');      else         mix.covars(j) = tempcovars;        mix.U(:, :, j) = tempU;        mix.lambda(j, :) = templambda;      end    end    if check_covars      if mix.covars(j) < MIN_COVAR        mix.covars(j) = init_covars(j);      end    end    otherwise      error(['Unknown covariance type ', mix.covar_type]);                 endendoptions(8) = -sum(log(gmmprob(mix, x)));if (display >= 0)  disp('Warning: Maximum number of iterations has been exceeded');end  

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
在线免费观看日本欧美| 久久精工是国产品牌吗| 国产偷v国产偷v亚洲高清 | 天堂成人国产精品一区| 亚洲免费观看高清完整版在线 | 欧美国产精品一区二区| 欧美激情一区二区在线| 中文字幕中文字幕在线一区| 国产精品美女一区二区三区| 国产亚洲欧美色| 亚洲日本va在线观看| 亚洲一区二区四区蜜桃| 日韩高清不卡一区二区三区| 国内精品第一页| 风间由美中文字幕在线看视频国产欧美 | 亚洲男同性恋视频| 亚洲成人动漫在线免费观看| 日韩电影一区二区三区四区| 国产一区二区三区精品欧美日韩一区二区三区 | 久久综合五月天婷婷伊人| 欧美激情艳妇裸体舞| 亚洲免费av高清| 日韩av成人高清| 国产成人精品免费在线| 一本大道综合伊人精品热热 | 亚洲在线成人精品| 奇米影视一区二区三区| 国产精品亚洲视频| 欧美羞羞免费网站| 日韩免费高清av| 中文字幕一区二区不卡| 视频一区视频二区中文| 国产成人高清视频| 欧美三级视频在线| 久久精品视频在线免费观看| 亚洲欧美乱综合| 日韩电影在线免费| 色先锋资源久久综合| 久久综合国产精品| 一级精品视频在线观看宜春院 | 性做久久久久久免费观看| 国产一区二区福利视频| 91福利在线免费观看| 久久一日本道色综合| 亚洲电影视频在线| 一本久久综合亚洲鲁鲁五月天| 欧美精品一区二区三区四区| 一区二区国产盗摄色噜噜| 国产精品一二三四区| 91精选在线观看| 亚洲午夜一区二区| 成人av电影在线| 久久夜色精品国产噜噜av| 亚洲h在线观看| 91香蕉视频污在线| 欧美激情一二三区| 国产精品正在播放| 精品国产伦一区二区三区观看方式| 亚洲国产精品自拍| 欧洲色大大久久| 亚洲精品国产成人久久av盗摄| 成人一级片网址| 日本一区二区三区国色天香| 精品一区二区三区免费| 91精品国产综合久久福利软件 | 午夜精品在线看| 日本高清不卡视频| 亚洲精品伦理在线| 91免费精品国自产拍在线不卡| 国产精品视频在线看| 成人h版在线观看| 国产精品高潮呻吟| 91麻豆自制传媒国产之光| 欧美激情在线一区二区三区| 国产精品一区二区无线| 国产亚洲成年网址在线观看| 国产在线一区二区综合免费视频| 91精品国产免费| 久久精品国产99国产精品| 精品成a人在线观看| 激情综合网激情| 国产嫩草影院久久久久| 大胆亚洲人体视频| 亚洲欧洲性图库| 欧美午夜电影一区| 免费观看91视频大全| 2024国产精品| 99国产精品视频免费观看| 亚洲美女免费视频| 911国产精品| 精品中文字幕一区二区小辣椒| 久久嫩草精品久久久精品一| 欧美剧情片在线观看| 成人欧美一区二区三区白人| 色综合久久久久综合99| 五月婷婷激情综合| 日韩精品一区二区三区视频播放 | 欧美视频中文字幕| 日本女优在线视频一区二区| 欧美一三区三区四区免费在线看| 国产精品18久久久| 亚洲国产日韩一级| 久久综合久久鬼色| 91黄色激情网站| 国产真实精品久久二三区| 亚洲精品日韩一| 欧美一级爆毛片| 不卡高清视频专区| 亚洲成人手机在线| 久久精品在这里| 欧美日韩国产高清一区| 国产剧情在线观看一区二区| 亚洲在线观看免费| 国产欧美一区二区三区鸳鸯浴| 欧美偷拍一区二区| 处破女av一区二区| 视频在线观看91| 亚洲精品成人在线| 亚洲免费高清视频在线| 精品久久久三级丝袜| 在线一区二区三区做爰视频网站| 狠狠色丁香婷综合久久| 午夜精品久久久久久久99水蜜桃| 中文在线一区二区 | 国产精品女同互慰在线看| 欧美日韩中文一区| 91在线视频免费91| 国产成人在线免费| 久久se精品一区精品二区| 污片在线观看一区二区| 国产精品久久久久aaaa| 久久久欧美精品sm网站| 日韩免费性生活视频播放| 欧美二区在线观看| 欧美视频在线一区二区三区| 波多野结衣一区二区三区 | 亚洲免费三区一区二区| 国产日韩欧美综合一区| 精品久久久久久久一区二区蜜臀| 欧美三区在线视频| 欧美亚一区二区| 欧美自拍丝袜亚洲| 欧美性猛交xxxxxx富婆| 欧美日韩在线播放三区四区| 在线观看三级视频欧美| 欧美在线视频全部完| 在线视频你懂得一区二区三区| 91老司机福利 在线| 成人h精品动漫一区二区三区| 国产91精品一区二区麻豆亚洲| 激情综合色播激情啊| 韩国女主播一区| 国内精品嫩模私拍在线| 国产老肥熟一区二区三区| 国产精品一二三四区| 成人一区二区在线观看| 99在线精品视频| 色综合天天综合给合国产| 欧洲一区二区三区在线| 欧美日韩综合在线免费观看| 9191成人精品久久| 精品国产一区二区三区不卡| 久久久综合视频| 亚洲婷婷国产精品电影人久久| 亚洲欧美经典视频| 亚洲1区2区3区视频| 日韩av一区二| 国产伦精品一区二区三区视频青涩 | 欧美日韩精品欧美日韩精品| 欧美美女激情18p| 26uuuu精品一区二区| 欧美国产日韩一二三区| 亚洲精品国产无天堂网2021| 婷婷综合另类小说色区| 久久福利视频一区二区| 国产精品亚洲成人| 欧美在线观看18| 日韩视频一区在线观看| 欧美激情一二三区| 亚洲国产aⅴ成人精品无吗| 极品少妇xxxx精品少妇| 色综合天天综合狠狠| 日韩午夜激情免费电影| 亚洲欧美日韩在线不卡| 免费高清不卡av| 99国产欧美另类久久久精品| 欧美一级一区二区| 中文字幕亚洲视频| 韩日av一区二区| 欧美在线小视频| 欧美经典一区二区三区| 日韩av一区二区三区四区| 成人久久18免费网站麻豆| 91精品黄色片免费大全| 中文字幕日韩一区| 九九精品视频在线看| 欧美视频在线观看一区| 国产精品毛片无遮挡高清| 蜜桃传媒麻豆第一区在线观看| www.在线欧美|