⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 consist.htm

📁 这是包含pca和ppca等诸多源程序的工具箱
💻 HTM
字号:
<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 networkdata structure <CODE>net</CODE> together with a string <CODE>type</CODE> containingthe correct network type, a matrix <CODE>inputs</CODE> of input vectors and checksthat the data structure is consistent with the other arguments.  An emptystring is returned if there is no error, otherwise the string contains therelevant error message.  If the <CODE>type</CODE> string is empty, then anytype 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 thenetwork has the correct number of outputs, and that the number of patternsin 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 MLPnetwork, 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>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -