-
Notifications
You must be signed in to change notification settings - Fork 8
/
set_up_kernel_params.m
40 lines (33 loc) · 1.08 KB
/
set_up_kernel_params.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
33
34
35
36
37
38
39
40
% set up kernel parameters
function parameterCell = set_up_kernel_params()
%% kernel configuration
n = 0;
% 'gist'
n=n+1;
parameterCell{n}.featureName = 'gist';
parameterCell{n}.kernelName = 'echi2';
parameterCell{n}.weighted = false;
parameterCell{n}.bow = false;
parameterCell{n}.normalize = false;
% 'hog2x2'
n=n+1;
parameterCell{n}.featureName = 'hog2x2';
parameterCell{n}.kernelName = 'kl1';
parameterCell{n}.weighted = true;
parameterCell{n}.bow = false;
parameterCell{n}.normalize = false;
% 'ssim'
n=n+1;
parameterCell{n}.featureName = 'ssim';
parameterCell{n}.kernelName = 'echi2';
parameterCell{n}.weighted = false;
parameterCell{n}.bow = false;
parameterCell{n}.normalize = false;
% 'geo_color'
n=n+1;
parameterCell{n}.featureName = 'geo_color';
parameterCell{n}.kernelName = 'kchi2';
parameterCell{n}.weighted = false;
parameterCell{n}.bow = false;
parameterCell{n}.normalize = false;
end