1 Star 0 Fork 0

Admin/marx_DisPAT

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
showClusters.m 634 Bytes
一键复制 编辑 原始数据 按行查看 历史
marx 提交于 2021-11-26 19:53 . v1
if way2==2
dm = floor(sqrt(numClust));
if dm ~= sqrt(numClust)
dm = dm+1;
end
for i = 1:numClust
clust = clustMembsCell{i};
n=size(clust,2);
subplot(dm,dm,i);
imshow(reshape(sum(X(clust,:),1),Pat,Pat),[0.3*n n]);
title(['Cluster ',num2str(i)]);
end
MDS=MDS1;
end
% If K means
if way2==1
calcClusters
end
% Kernel K-means
if way2==3
calcClusters
% figure;
% for i = 1:clus
% subplot(dm,dm,i);
% imshow(reshape(X(clusterCenterIndex(i),:),Pat,Pat));
% title(['Cluster ',num2str(i)]);
% end
MDS=MDS1;
end
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Matlab
1
https://gitee.com/marx_1_1307066363/marx_-dis-pat.git
git@gitee.com:marx_1_1307066363/marx_-dis-pat.git
marx_1_1307066363
marx_-dis-pat
marx_DisPAT
master

搜索帮助