about summary refs log tree commit diff
path: root/sourcecodes/run_scripts/run_loo
blob: cca85cd725bc24f7200d58715eb473c04c190f98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/octave -qf
pcd=[fileparts(mfilename("fullpath")) "/path_cd.m"];source(pcd)
arg_list = argv();
filename=strcat(arg_list{1},"looCV.txt");
delete(filename);
filename=strcat(arg_list{1},"loo_plotly.html");
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=cstrcat("/home/jziebart/python/Python-2.7.15/python ",base_dir,"/cv_plotly.py ",arg_list{1});
test=system(command);