diff options
Diffstat (limited to 'sourcecodes/run_loo')
| -rw-r--r-- | sourcecodes/run_loo | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sourcecodes/run_loo b/sourcecodes/run_loo new file mode 100644 index 00000000..8c164651 --- /dev/null +++ b/sourcecodes/run_loo @@ -0,0 +1,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); \ No newline at end of file |
