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/consist.htm | 78 +++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 sourcecodes/bnt-master/nethelp3.3/consist.htm (limited to 'sourcecodes/bnt-master/nethelp3.3/consist.htm') 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 @@ + + + +Netlab Reference Manual consist + + + +

consist +

+

+Purpose +

+Check that arguments are consistent. + +

+Synopsis +

+
+errstring = consist(net, type, inputs, outputs)
+errstring = consist(net, type, inputs)
+errstring = consist(net, type)
+
+ + +

+Description +

+ +

errstring = consist(net, type, inputs) takes a network +data structure net together with a string type containing +the correct network type, a matrix inputs 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 type string is empty, then any +type of network is allowed. + +

errstring = consist(net, type) takes a network data structure +net together with a string type containing the correct +network type, and checks that the two types match. + +

errstring = consist(net, type, inputs, outputs) also checks that the +network has the correct number of outputs, and that the number of patterns +in the inputs and outputs is the same. The fields in net +that are used are +

+  type
+  nin
+  nout
+
+ + +

+Example +

+ +

mlpfwd, the function that propagates values forward through an MLP +network, has the following check at the head of the file: +

+
+errstring = consist(net, 'mlp', x, t);
+if ~isempty(errstring)
+  error(errstring)
+end
+
+ + +

+See Also +

+mlpfwd
+Pages: +Index +
+

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