mcla.m
来自「聚类分析工具箱 亚历山大博士写的」· M 代码 · 共 25 行
M
25 行
% 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 + =
减小字号Ctrl + -
显示快捷键?