From 8070dc963753142bb86c4ed698d91fd623ed28e7 Mon Sep 17 00:00:00 2001 From: ziejd2 Date: Thu, 28 Sep 2017 15:04:40 -0500 Subject: BNW using Octave instead of Matlab. This version of BNW should perform the same as the original version. The only difference is that it uses Octave instead of Matlab when running BayesNet Toolbox during parameter learning. I am calling this BNW_1.02. It can be accessed at: compbio.uthsc.edu/BNW_1.02 --- sourcecodes/bnt-master/nethelp3.3/evidence.htm | 57 ++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 sourcecodes/bnt-master/nethelp3.3/evidence.htm (limited to 'sourcecodes/bnt-master/nethelp3.3/evidence.htm') diff --git a/sourcecodes/bnt-master/nethelp3.3/evidence.htm b/sourcecodes/bnt-master/nethelp3.3/evidence.htm new file mode 100644 index 00000000..7e319484 --- /dev/null +++ b/sourcecodes/bnt-master/nethelp3.3/evidence.htm @@ -0,0 +1,57 @@ + +
++[net] = evidence(net, x, t) +[net, gamma, logev] = evidence(net, x, t, num) ++ + +
[net] = evidence(net, x, t) re-estimates the
+hyperparameters alpha and beta by applying Bayesian
+re-estimation formulae for num iterations. The hyperparameter
+alpha can be a simple scalar associated with an isotropic prior
+on the weights, or can be a vector in which each component is
+associated with a group of weights as defined by the index
+matrix in the net data structure. These more complex priors can
+be set up for an MLP using mlpprior. Initial values for the iterative
+re-estimation are taken from the network data structure net
+passed as an input argument, while the return argument net
+contains the re-estimated values.
+
+[net, gamma, logev] = evidence(net, x, t, num) allows the re-estimation
+formula to be applied for num cycles in which the re-estimated
+values for the hyperparameters from each cycle are used to re-evaluate
+the Hessian matrix for the next cycle. The return value gamma is
+the number of well-determined parameters and logev is the log
+of the evidence.
+
+
mlpprior, netgrad, nethess, demev1, demardCopyright (c) Ian T Nabney (1996-9) + + + + \ No newline at end of file -- cgit 1.4.1