about summary refs log tree commit diff
path: root/sourcecodes/run_scripts/run_test_set
diff options
context:
space:
mode:
Diffstat (limited to 'sourcecodes/run_scripts/run_test_set')
-rw-r--r--sourcecodes/run_scripts/run_test_set15
1 files changed, 15 insertions, 0 deletions
diff --git a/sourcecodes/run_scripts/run_test_set b/sourcecodes/run_scripts/run_test_set
new file mode 100644
index 00000000..dbf929f8
--- /dev/null
+++ b/sourcecodes/run_scripts/run_test_set
@@ -0,0 +1,15 @@
+#!/usr/bin/octave -qf
+cd ./data
+arg_list = argv(); 
+addpath("../bnt-master");
+addpath(genpathKPM("../bnt-master"));
+addpath("../parameter_learning");
+filename=strcat(arg_list{1},"ts_output.txt");
+delete(filename);
+testSetPredictions(arg_list{1});
+fclose(filename);
+filename=strcat(arg_list{1},"ts_upload.txt");
+delete(filename);
+
+command=strcat({"/home/jziebart/python/Python-2.7.15/python ../ts_plotly.py "},arg_list{1});
+test=system(command);