wcf_struct_snn.m

来自「神经网络的工具箱, 神经网络的工具箱,」· M 代码 · 共 46 行

M
46
字号
function wcf_struct = wcf_struct_snn(a, e)%WCF_STRUCT_SNN Create a wcf_struct costfcn_struct.%%Syntax%%  wcf_struct = wcf_struct_snn%  wcf_struct = wcf_struct_snn(a)%  wcf_struct = wcf_struct_snn(a, e)%%Description%%  WCF_STRUCT_SNN stores cost function parameters for the cost%  function WCF_SNN in a wcf_struct that can be part of an net_struct.%%  WCF_STRUCT_SNN(a, e) takes%   a             - [NL x 1] matrix of output variable weights.%                   [optional; default is empty; empty is interpreted%                   as all outputs have equal weight]  %   e             - [NL x 1] cell matrix of output variable error%                   function names OR string of output variable error%                   funtion for all variables.%                   [optional; default is 'se_snn']   %  and returns %   wcf_struct    - a wcf_struct.%%  (NL = #output variables)%%See also%%  WCF_SNN, COSTFCN_STRUCT_SNN, SET_WCF_A_SNN, SET_WCF_E_SNN,%  SET_NET_COSTFCN_SNN%if (nargin <2)   e = 'se_snn';endif (nargin <1)   a = [];endwcf_struct.name = 'wcf_snn';wcf_struct.a = a;wcf_struct.fn = e;

⌨️ 快捷键说明

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