about summary refs log tree commit diff
path: root/sourcecodes/run_scripts/run_kfold
blob: 371649e45c5deb0fab29d43376aa01b09e4af23e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/octave -qf
source("./run_scripts/path_cd.m")
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);
command=cstrcat("/var/www/html/compbio/BNW_1.3/bnw-env/bin/python3 ",base_dir,"/kfold_plotly.py ",arg_list{1});
test=system(command);
delete(filename);