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/minbrack.htm | 65 ++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 sourcecodes/bnt-master/nethelp3.3/minbrack.htm (limited to 'sourcecodes/bnt-master/nethelp3.3/minbrack.htm') diff --git a/sourcecodes/bnt-master/nethelp3.3/minbrack.htm b/sourcecodes/bnt-master/nethelp3.3/minbrack.htm new file mode 100644 index 00000000..f49d18f5 --- /dev/null +++ b/sourcecodes/bnt-master/nethelp3.3/minbrack.htm @@ -0,0 +1,65 @@ + + + +Netlab Reference Manual minbrack + + + +

minbrack +

+

+Purpose +

+Bracket a minimum of a function of one variable. + +

+Description +

+brmin, brmid, brmax, numevals] = minbrack(f, a, b, fa) +finds a bracket of three points around a local minimum of +f. The function f must have a one dimensional domain. +a < b is an initial guess at the minimum and maximum points +of a bracket, but minbrack will search outside this interval if +necessary. The bracket consists of three points (in increasing order) +such that f(brmid) < f(brmin) and f(brmid) < f(brmax). +fa is the value of the function at a: it is included to +avoid unnecessary function evaluations in the optimization routines. +The return value numevals is the number of function evaluations +in minbrack. + +

minbrack(f, a, b, fa, p1, p2, ...) allows additional +arguments to be passed to f + +

+Examples +

+An example of the use of this function to bracket the minimum of a function +f in the direction sd can be found in linemin +
+
+[min, mid, max, nevals]] = minbrack('linef', 0.0, 1.0, fa, f, pt, dir);
+
+ +where the function linef is used to turn a general function f +into a one dimensional one. + +

+Algorithm +

+ +Quadratic extrapolation with a limit to the maximum step size is +used to find the outside points of the bracket. This implementation +is based on that in Numerical Recipes. + +

+See Also +

+linemin, linef
+Pages: +Index +
+

Copyright (c) Ian T Nabney (1996-9) + + + + \ No newline at end of file -- cgit 1.4.1