From 995f6673b5e725d6907ccd4f8e25033e8524f116 Mon Sep 17 00:00:00 2001 From: ziejd2 Date: Mon, 28 Jan 2019 16:37:57 -0600 Subject: Deleting old versions of files --- sourcecodes/run_scripts/run_kfold | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 sourcecodes/run_scripts/run_kfold (limited to 'sourcecodes/run_scripts/run_kfold') diff --git a/sourcecodes/run_scripts/run_kfold b/sourcecodes/run_scripts/run_kfold new file mode 100644 index 00000000..f90a5428 --- /dev/null +++ b/sourcecodes/run_scripts/run_kfold @@ -0,0 +1,18 @@ +#!/usr/bin/octave -qf +cd ./data +arg_list = argv(); +addpath("../bnt-master"); +addpath(genpathKPM("../bnt-master")); +addpath("../parameter_learning"); +fileout=strcat(arg_list{1},"kfoldCV.txt"); +delete(fileout); +filename=strcat(arg_list{1},"kfoldCV_temp.txt"); +fout_temp=fopen(filename,'w'); +fprintf(fout_temp,arg_list{2}); +kfoldCrossValid(arg_list{1},arg_list{2},arg_list{3}); +fclose(fout_temp); +delete(filename); + + +command=strcat({"/home/jziebart/python/Python-2.7.15/python ../kfold_plotly.py "},arg_list{1}); +test=system(command); -- cgit 1.4.1