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