about summary refs log tree commit diff
path: root/sourcecodes/bnt-master/nethelp3.3/consist.htm
diff options
context:
space:
mode:
authorziejd22017-09-28 15:04:40 -0500
committerziejd22017-09-28 15:04:40 -0500
commit8070dc963753142bb86c4ed698d91fd623ed28e7 (patch)
treed0f6dd8fc46a49b819aa55c1a90faa14d8448883 /sourcecodes/bnt-master/nethelp3.3/consist.htm
parent7cc31810d53176e805532b2789955f4eedbce6bb (diff)
downloadBNW-8070dc963753142bb86c4ed698d91fd623ed28e7.tar.gz
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
Diffstat (limited to 'sourcecodes/bnt-master/nethelp3.3/consist.htm')
-rw-r--r--sourcecodes/bnt-master/nethelp3.3/consist.htm78
1 files changed, 78 insertions, 0 deletions
diff --git a/sourcecodes/bnt-master/nethelp3.3/consist.htm b/sourcecodes/bnt-master/nethelp3.3/consist.htm
new file mode 100644
index 00000000..40bc374c
--- /dev/null
+++ b/sourcecodes/bnt-master/nethelp3.3/consist.htm
@@ -0,0 +1,78 @@
+<html>
+<head>
+<title>
+Netlab Reference Manual consist
+</title>
+</head>
+<body>
+<H1> consist
+</H1>
+<h2>
+Purpose
+</h2>
+Check that arguments are consistent.
+
+<p><h2>
+Synopsis
+</h2>
+<PRE>
+errstring = consist(net, type, inputs, outputs)
+errstring = consist(net, type, inputs)
+errstring = consist(net, type)
+</PRE>
+
+
+<p><h2>
+Description
+</h2>
+
+<p><CODE>errstring = consist(net, type, inputs)</CODE> takes a network
+data structure <CODE>net</CODE> together with a string <CODE>type</CODE> containing
+the correct network type, a matrix <CODE>inputs</CODE> of input vectors and checks
+that the data structure is consistent with the other arguments.  An empty
+string is returned if there is no error, otherwise the string contains the
+relevant error message.  If the <CODE>type</CODE> string is empty, then any
+type of network is allowed.
+
+<p><CODE>errstring = consist(net, type)</CODE> takes a network data structure
+<CODE>net</CODE> together with a string <CODE>type</CODE> containing the correct 
+network type, and checks that the two types match.
+
+<p><CODE>errstring = consist(net, type, inputs, outputs)</CODE> also checks that the
+network has the correct number of outputs, and that the number of patterns
+in the <CODE>inputs</CODE> and <CODE>outputs</CODE> is the same.  The fields in <CODE>net</CODE>
+that are used are
+<PRE>
+  type
+  nin
+  nout
+</PRE>
+
+
+<p><h2>
+Example
+</h2>
+
+<p><CODE>mlpfwd</CODE>, the function that propagates values forward through an MLP
+network, has the following check at the head of the file:
+<PRE>
+
+errstring = consist(net, 'mlp', x, t);
+if ~isempty(errstring)
+  error(errstring)
+end
+</PRE>
+
+
+<p><h2>
+See Also
+</h2>
+<CODE><a href="mlpfwd.htm">mlpfwd</a></CODE><hr>
+<b>Pages:</b>
+<a href="index.htm">Index</a>
+<hr>
+<p>Copyright (c) Ian T Nabney (1996-9)
+
+
+</body>
+</html>
\ No newline at end of file