📄 wcf_struct_snn.m
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -