gabpeval.m

来自「基于gaot工具箱优化BP以实现数据拟合。在nninit.m中修改数据存储的路径」· M 代码 · 共 9 行

M
9
字号
function [sol, val] = gabpEval(sol,options)
% val - the fittness of this individual
% sol - the individual, returned to allow for Lamarckian evolution
% options - [current_generation]
[input,output,R,S1,S2,S]=nninit;
for i=1:S,
    x(i)=sol(i);
end;
[W1, B1, W2, B2, input, output, A1, A2, SE, val]=gadecod(x);

⌨️ 快捷键说明

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