forked from oliveirafhm/DR-Toolbox-Benchmark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
correlationAnalysis.m
32 lines (29 loc) · 1004 Bytes
/
correlationAnalysis.m
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
% Author: Fabio Henrique ([email protected])
% 04/2018
% DR parameters correlation analysis
%% Load data
% Load parameter settings xls
%%
corrData_sammons = sammons;
% Pick only columns to be correlated
varsColumns = {'Iter';'LR';'DRErr';'CVAcc'};
corrDataSTable = array2table(corrData_sammons,...
'VariableNames',varsColumns);
% Plot correlation data
baseFontSize = 16;
% Pearson's linear correlation coefficient
[RS, PValueS] = corrplot(corrDataSTable,'testR','on');
% title(['Sammons mapping parameters correlation'],'FontSize',baseFontSize);
% set(gca,'fontsize',baseFontSize+2);
% set(findobj(gca,'type','text'),'fontsize',baseFontSize);
% hold off;
%%
corrData_tsne = t_sne;
% Pick only columns to be correlated
varsColumns = {'Iter';'LR';'Perp';'DRErr';'CVAcc'};
corrDataSTable = array2table(corrData_tsne,...
'VariableNames',varsColumns);
% Plot correlation data
baseFontSize = 16;
% Pearson's linear correlation coefficient
[RT, PValueT] = corrplot(corrDataSTable,'testR','on');