-
Notifications
You must be signed in to change notification settings - Fork 3
/
Demo.asv
34 lines (29 loc) · 1005 Bytes
/
Demo.asv
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
clear
clc
warning off;
path = './';
addpath(genpath(path));
addpath(genpath('./ClusteringEvaluation'));
dataName = 'proteinFold';
load([path,'dataset/',dataName,'_Kmatrix'],'KH','Y');
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
numclass = length(unique(Y));
numker = size(KH,3);
num = size(KH,1);
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
KH = kcenter(KH);
KH = knorm(KH);
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
qnorm = 2;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
epsionset = [0.1:0.1:0.9];
for ie =1:length(epsionset)
for iter = 1:10
load([path,'./generateAbsentMatrix/',dataName,'_missingRatio_',num2str(epsionset(ie)),...
'_missingIndex_iter_',num2str(iter),'.mat'],'S');
H_normalized = IncompleteMultikernelLatefusionclusteringV1Hv(HP,k,lambda);
%
save([path,'work2016/myFinalRes/',dataName,'_missingRatio_',num2str(epsionset(ie)),'_norm_',num2str(qnorm),...
'_clustering_iter_',num2str(iter),'.mat'],'res','timingcost','alignment');
end
end