From e3f7237ffcb19f19db3b68777b5a94b89e07f66a Mon Sep 17 00:00:00 2001 From: ziejd2 Date: Thu, 13 Sep 2018 23:59:20 -0500 Subject: 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. --- sourcecodes/cross_valid_example.php | 125 ++++++++++++++++++++++++++++++++++++ 1 file changed, 125 insertions(+) create mode 100644 sourcecodes/cross_valid_example.php (limited to 'sourcecodes/cross_valid_example.php') diff --git a/sourcecodes/cross_valid_example.php b/sourcecodes/cross_valid_example.php new file mode 100644 index 00000000..a4bbe043 --- /dev/null +++ b/sourcecodes/cross_valid_example.php @@ -0,0 +1,125 @@ + + + + + + + + + + + +
+ + +
+

Leave-one-out cross-validation results are being calculated

+
+ Refresh to update status +
+ +
+

>View cross-validation results

+
+

Perform leave-one-out cross-validation of another network variable

+

+ Enter the name of another variable below to validate predictions of that variable. +
+

+
"> + Variable Name: + +
+
+

+
+ +

Perform leave-one-out cross-validation of network

+

+ To perform cross-validation, enter the name of the variable that you want to test the predictions of below. +
+

+
"> + Variable Name: + +
+
+

+
+ + /dev/null 2 > /dev/null &"); + $pred_link='cv_predictions_example.php?My_key='.$keyval; + sleep(1); + echo "
"; + echo "Calculation submitted"; + echo "
"; + echo "Click to return to cross-validation and predictions menu"; +} +?> + +
+ + + -- cgit 1.4.1