wcfdata_struct_snn.m
来自「神经网络的工具箱, 神经网络的工具箱,」· M 代码 · 共 46 行
M
46 行
function wcfdata_struct = wcfdata_struct_snn(P, T, gmu, Delta)%WCFDATA_STRUCT_SNN Create wcfdata_struct.%%Syntax%% wcfdata_struct = wcfdata_struct_snn(P, T)% wcfdata_struct = wcfdata_struct_snn(P, T, gmu)% wcfdata_struct = wcfdata_struct_snn(P, T, gmu, Delta)%%Description%% WCFDATA_STRUCT_SNN stores a training data set in a wcfdata_struct that % can be used as an input for WCF_SNN.%% WCFDATA_STRUCT_SNN(P, T, gmu, Delta) takes% P - N0 x MU matrix of inputs% T - NL x MU matrix of targets% gmu - 1 x MU matrix of pattern weights % [optional; default is empty; empty is interpreted% as all patterns have equal weight] % Delta - NL x MU matrix. Mask controlling weighted average.% 0 indicates the output variable/pattern combination is % not used in weighted average and 1 it is. % [optional; default is empty; empty is interpreted % as use all combinations] % and returns % wcfdata_struct - a wcfdata_struct.%% (N0 = #inputs; NL = #output variables; MU = #patterns)%%See also%% WCF_SNN, IMPORT_ASCII_DATA_SNN%wcfdata_struct.P = P;wcfdata_struct.T = T;if (nargin > 2) wcfdata_struct.gmu = gmu;endif (nargin > 3) wcfdata_struct.useT = Delta;end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?