blob: 811f0c35211f1c6b2cfff6ae7db424ff0f463e45 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
<?php
include("header_new.inc");
include("input_validate.php");
$keyval=valid_keyval($_GET["My_key"]);
?>
<!-- Site navigation menu -->
<ul class="navbar2">
<li><p>Network ID:<br><?php print($keyval);?></p></li>
</ul>
<ul class="navbar">
<li><a href="javascript:void(0);"
NAME="Network" title="Network" onClick=window.open("layout.php?My_key=<?php print($keyval);?>","_self");>Return to network</a>
<li><a href="help.php">Help</a>
<li><a href="home.php">Home</a>
</ul>
<!-- Main content -->
<div id="outer">
<h1>Cross-validation and predictions</h1>
<br>
<p align="justify">
<ul class="listbar">
<?php
$loo_file1="./data/".$keyval."looCV_temp.txt";
$loo_file2="./data/".$keyval."looCV.txt";
if(file_exists($loo_file1))
{?>
<li>1: Leave-one-out cross-validation predictions are being calculated.
<a href="cv_predictions.php?My_key=<?php print($keyval);?>">Refresh and update status</a>
<br>
</li>
<?php
} else if(file_exists($loo_file2)) {
?>
<li>1: <a href="cross_valid.php?My_key=<?php print($keyval);?>" target='_self'>Leave-one-out cross-validation results are available.</a></li>
<?php
} else {
?>
<li>1: <a href="cross_valid.php?My_key=<?php print($keyval);?>" target='_self'>Perform leave-one-out cross-validation</a></li>
<?php
}
?>
<?php
$kfold_file1="./data/".$keyval."kfoldCV_temp.txt";
$kfold_file2="./data/".$keyval."kfoldCV.txt";
if(file_exists($kfold_file1))
{?>
<li>2: k-fold cross-validation predictions are being calculated.
<a href="cv_predictions.php?My_key=<?php print($keyval);?>">Refresh and update status</a>
<br>
</li>
<?php
} else if(file_exists($kfold_file2)) {
?>
<li>2: <a href="kfold_cv.php?My_key=<?php print($keyval);?>" target='_self'>k-fold cross-validation results are available</a></li>
<?php
} else {
?>
<li>2: <a href="kfold_cv.php?My_key=<?php print($keyval);?>" target='_self'>Perform k-fold cross-validation</a></li>
<?php
}
?>
<?php
$ts_file1="./data/".$keyval."ts_upload.txt";
$ts_file2="./data/".$keyval."ts_output.txt";
if(file_exists($ts_file1))
{?>
<li>3: Test set predictions are being calculated.
<a href="cv_predictions.php?My_key=<?php print($keyval);?>">Refresh and update status</a>
<br>
</li>
<?php
} else if(file_exists($ts_file2)) {
?>
<li>3: <a href="test_set_predictions.php?My_key=<?php print($keyval);?>" target='_self'>Test set predictions are available</a></li>
<?php
} else {
?>
<li>3: <a href="test_set_predictions.php?My_key=<?php print($keyval);?>" target='_self'>Make predictions using a test data set</a></li>
<?php
}
?>
</ul>
</p>
</div>
</body>
</html>
|