⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mcla.m

📁 聚类分析工具箱 亚历山大博士写的
💻 M
字号:
% function cl = mcla(cls,k)
%
% DESCRIPTION
%  Performs MCLA for CLUSTER ENSEMBLES
%
% Copyright (c) 1998-2002 by Alexander Strehl

function cl = mcla(cls,k)

disp('CLUSTER ENSEMBLES using MCLA');

if ~exist('k'),
   k = max(max(cls));
end;

disp('mcla: preparing graph for meta-clustering');
clb = clstoclbs(cls);
cl_lab = clcgraph(clb,k,'simbjac');
for i=1:max(cl_lab),
   matched_clusters = find(cl_lab==i);
   clb_cum(i,:) = mean(clb(matched_clusters,:),1);
end;
cl = clbtocl(clb_cum);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -