about summary refs log tree commit diff
path: root/sourcecodes/run_scripts/run_loo
diff options
context:
space:
mode:
authorziejd22019-01-28 16:37:57 -0600
committerziejd22019-01-28 16:37:57 -0600
commit995f6673b5e725d6907ccd4f8e25033e8524f116 (patch)
tree5df08d9503394eab1190a01a640f3c338e8c74d6 /sourcecodes/run_scripts/run_loo
parentbb9d93322abf825368dedaafc2376ef8fdfc1e2f (diff)
downloadBNW-995f6673b5e725d6907ccd4f8e25033e8524f116.tar.gz
Deleting old versions of files
Diffstat (limited to 'sourcecodes/run_scripts/run_loo')
-rw-r--r--sourcecodes/run_scripts/run_loo17
1 files changed, 17 insertions, 0 deletions
diff --git a/sourcecodes/run_scripts/run_loo b/sourcecodes/run_scripts/run_loo
new file mode 100644
index 00000000..3ff4f4db
--- /dev/null
+++ b/sourcecodes/run_scripts/run_loo
@@ -0,0 +1,17 @@
+#!/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});
+fclose(fout_temp);
+looCrossValid(arg_list{1},arg_list{2});
+delete(filename);
+
+command=strcat({"/home/jziebart/python/Python-2.7.15/python ../cv_plotly.py "},arg_list{1});
+test=system(command);