diff options
| author | ziejd2 | 2018-09-13 23:59:20 -0500 |
|---|---|---|
| committer | ziejd2 | 2018-09-13 23:59:20 -0500 |
| commit | e3f7237ffcb19f19db3b68777b5a94b89e07f66a (patch) | |
| tree | 554a8013776ebeae3e2976074020c09c2d1af8b0 /sourcecodes/layout_example.php | |
| parent | a7eb61ff7a09f39bee67014bf24b8919eaccfc19 (diff) | |
| download | BNW-e3f7237ffcb19f19db3b68777b5a94b89e07f66a.tar.gz | |
New parameter learning options
The main change here is in the parameter learning methods. The parameters that are learned at first (i.e., if there is no evidence) are the distributions that are found directly in the data. I had to create or significantly modify several BNT files for this. If there is evidence, the parameters are learned using a Dirichlet prior. This only required a couple of small changes to the BNW parameter learning files.
Diffstat (limited to 'sourcecodes/layout_example.php')
| -rw-r--r-- | sourcecodes/layout_example.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sourcecodes/layout_example.php b/sourcecodes/layout_example.php index 130b8b7c..a675da8c 100644 --- a/sourcecodes/layout_example.php +++ b/sourcecodes/layout_example.php @@ -1,13 +1,9 @@ <?php include("header_new.inc"); +include("input_validate.php"); -$keyval=$_GET["My_key"]; - - - - - +$keyval=valid_keyval($_GET["My_key"]); $dir="./data/"; @@ -77,10 +73,14 @@ function calcHeight() <!-- Site navigation menu --> <ul class="navbar2"> <li><p>Selected mode:<br><?php print($radiovalue);?></p></li> + <li><p>Network ID:<br><?php print($keyval);?></p></li> </ul> <ul class="navbar"> <li><a href="clear_example.php?My_key=<?php print($keyval);?>" target='_blank'>Clear evidence</a> +<!--- +<li><a href="cv_predictions_example.php?My_key=<?php print($keyval);?>";>Cross validation and predictions</a> +---> <li><a href="javascript:void(0);" NAME="Model Averaging Matrix" title="Model Averaging Matrix" onClick=window.open("matrix.php?My_key=<?php print($keyval);?>","Ratting","width=950,height=270,0,status=0,");>Display structure matrix</a> |
