File tree Expand file tree Collapse file tree 1 file changed +21
-2
lines changed Expand file tree Collapse file tree 1 file changed +21
-2
lines changed Original file line number Diff line number Diff line change 22
22
results{2 }.method = ' Row-Column Standardize' ;
23
23
results{2 }.output = standard_correlation_sn(X )
24
24
25
+ results{3 }.method = ' Row-Column Sym Standardize' ;
26
+ results{3 }.output = standard_correlation_sym_sn(X )
25
27
26
28
figure ;
27
- subplot(1 ,2 ,1 );
29
+ subplot(1 ,3 ,1 );
28
30
imagesc(results{1 }.output.corr); axis equal image ;
29
31
colormap(' winter' );
30
32
title(results{1 }.method);
31
- subplot(1 ,2 ,2 );
33
+ subplot(1 ,3 ,2 );
32
34
imagesc(results{2 }.output.corr); axis equal image ;
33
35
colormap(' winter' )
34
36
title(results{2 }.method);
37
+ subplot(1 ,3 ,3 );
38
+ imagesc(results{3 }.output.corr); axis equal image ;
39
+ colormap(' winter' )
40
+ title(results{3 }.method);
35
41
36
42
fname = [' tmp' filesep datestr(now ,' dd-mmm-yyyy-HHMMSS' )];
37
43
if (~exist(fname ,' dir' ))
58
64
59
65
output = struct();
60
66
67
+ X = standardize .successive_normalize(X );
68
+
69
+ ggmobj = GGM(X );
70
+ ggmobj .MLECovEstimate();
71
+ output.corr = ggmobj .Sigma ;
72
+
73
+ end
74
+
75
+ function output = standard_correlation_sym_sn(X )
76
+
77
+ output = struct();
78
+
61
79
X = standardize .successive_normalize(X , ...
62
80
struct(' method' ,' sym' ));
63
81
66
84
output.corr = ggmobj .Sigma ;
67
85
68
86
end
87
+
You can’t perform that action at this time.
0 commit comments