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

linemin +

+

+Purpose +

+One dimensional minimization. + +

+Description +

+[x, options] = linemin(f, pt, dir, fpt, options) uses Brent's +algorithm to find the minimum of the function f(x) along the +line dir through the point pt. The function value at the +starting point is fpt. The point at which f has a local minimum +is returned as x. The function value at that point is returned +in options(8). + +

linemin(f, pt, dir, fpt, options, p1, p2, ...) allows +additional arguments to be passed to f(). + +

The optional parameters have the following interpretations. + +

options(1) is set to 1 to display error values. + +

options(2) is a measure of the absolute precision required for the value +of x at the solution. + +

options(3) is a measure of the precision required of the objective +function at the solution. Both this and the previous condition must be +satisfied for termination. + +

options(14) is the maximum number of iterations; default 100. + +

+Examples +

+An example of the use of this function to find the minimum of a function +f in the direction sd can be found in conjgrad +
+
+x = linemin(f, xold, sd, fold, lineoptions);
+
+ + +

+Algorithm +

+ +Brent's algorithm uses a mixture of quadratic interpolation and golden +section search to find the minimum of a function of a single variable once +it has been bracketed (which is done with minbrack). This is adapted +to minimize a function along a line. +This implementation +is based on that in Numerical Recipes. + +

+See Also +

+conjgrad, minbrack, quasinew
+Pages: +Index +
+

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