diff options
| author | ziejd2 | 2019-01-28 16:31:54 -0600 |
|---|---|---|
| committer | ziejd2 | 2019-01-28 16:31:54 -0600 |
| commit | bb9d93322abf825368dedaafc2376ef8fdfc1e2f (patch) | |
| tree | 10b9b3dd405d8a73aa4784e313525159cade3f3b /sourcecodes/test_set_predictions.php | |
| parent | c4949358bfeecdac35802f8369f4f97a21e5fddb (diff) | |
| download | BNW-bb9d93322abf825368dedaafc2376ef8fdfc1e2f.tar.gz | |
Jan 28 2019 update
Diffstat (limited to 'sourcecodes/test_set_predictions.php')
| -rw-r--r-- | sourcecodes/test_set_predictions.php | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sourcecodes/test_set_predictions.php b/sourcecodes/test_set_predictions.php index b6a1df80..b626dea3 100644 --- a/sourcecodes/test_set_predictions.php +++ b/sourcecodes/test_set_predictions.php @@ -85,6 +85,16 @@ else if(file_exists($filename2)) {?> <br> <h2> <a href=<?php $d="./data/".$keyval."ts_output.txt"; print($d);?>>View predictions</a></h2> +<?php + $plotly_file="./data/".$keyval."ts_plotly.html"; + if(file_exists($plotly_file)) + {?> + <div> + <object type="text/html" data=<?php print($plotly_file);?> width="800" height="500" > + </object> + </div> + <?php + }?> <br> <h3>Make a new set of predictions by submitting data file below</h3> <FORM name="key_search" enctype="multipart/form-data" ACTION="test_set_predictions.php" METHOD=POST> @@ -146,7 +156,7 @@ if($searchID!="") $fpdata = fopen("./data/".$keyval."ts_input.txt","w"); fwrite($fpdata,$searchID); } - $command = './run_test_set '.$keyval; + $command = './run_scripts/run_test_set '.$keyval; $output = shell_exec("$command > /dev/null 2 > /dev/null &"); $pred_link='cv_predictions.php?My_key='.$keyval; } |
