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

📄 wiener_hopf.m

📁 回声状态神经网络(ESN)是一种性能优异的递归神经网络
💻 M
字号:
function outputWeights = wiener_hopf(stateCollectMat, teachCollectMat)
% computes ESN output weights from collected network states and collected 
% teacher outputs. Mathematically this is a linear regression. 
% Uses the Wiener-Hopf solution, which runs faster (but is less numerically
% stable) than if the weights are computed via the pseudoinverse.

% Created April 30, 2006, D. Popovici
% Copyright: Fraunhofer IAIS 2006 / Patent pending

runlength = size(stateCollectMat,1);
covMat = stateCollectMat' * stateCollectMat / runlength;
pVec = stateCollectMat' * teachCollectMat / runlength;
outputWeights = (inv(covMat) * pVec)';

⌨️ 快捷键说明

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