maketimeconstantsfromrange.m

来自「回声状态神经网络(ESN)是一种性能优异的递归神经网络」· M 代码 · 共 11 行

M
11
字号
function timeConstants = makeTimeConstantsFromRange(lowerBoundary, upperBoundary, esn)
% helper function, creates a timeConstant vector (to be assigned to
% esn.timeConstants) from a lower and upper boundary (which must be in the
% interval (0,1] and may be identical)
%
% Created July 1, 2007, H.Jaeger

range = upperBoundary - lowerBoundary;
timeConstants = (0:esn.nInternalUnits-1)' / (esn.nInternalUnits-1);
timeConstants = timeConstants * range + lowerBoundary;

⌨️ 快捷键说明

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