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

📄 cliptr_snn.m

📁 神经网络的工具箱, 神经网络的工具箱,
💻 M
字号:
function tr=cliptr_snn(tr,epochs)%CLIPTR_SNN Clip training record to the final number of epochs.%% Syntax%%  tr = cliptr(tr,epochs)%% See also%%  TR_STRUCT_SNN%indices = 1:(epochs+1);names = fieldnames(tr);for i=1:prod(size(names))%  next two lines equals this two:      %  name = names{i};%  eval(['tr.' name ' = tr.' name '(:,indices);']);   cont = subsref(tr, substruct('.', names{i}));    tr = subsasgn(tr, substruct('.', names{i}), cont(:,indices));end

⌨️ 快捷键说明

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