about summary refs log tree commit diff
path: root/sourcecodes/run_loo
blob: 8c1646516cd78e991f90497bd5bacee0b2ff7beb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/octave -qf
cd ./data
arg_list = argv(); 
addpath("../bnt-master");
addpath(genpathKPM("../bnt-master"));
addpath("../parameter_learning");
filename=strcat(arg_list{1},"looCV.txt");
delete(filename);
filename=strcat(arg_list{1},"looCV_temp.txt");
fout_temp=fopen(filename,'w');
fprintf(fout_temp,arg_list{2});
looCrossValid(arg_list{1},arg_list{2});
fclose(fout_temp);
delete(filename);