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

📄 mydnif.m

📁 神经网络学习过程的实例程序
💻 M
字号:
function d = mydnif(z,n)
%MYDNIF Example custom net input derivative function of MYNIF.
%
%  Use this function as a template to write your own function.
%  
%  Syntax
%
%    dN_dZ = dtansig(Z,N)
%      Z - SxQ matrix of Q weighted input (column) vectors.
%      N - SxQ matrix of Q net input (column) vectors.
%      dN_dZ - SxQ derivative dN/dZ.
%
%  Example
%
%    z1 = rand(4,5);
%    z2 = rand(4,5);
%    z3 = rand(4,5);
%    n = mynif(z1,z2,z3)
%    dn_dz1 = mydnif(z1,n)
%    dn_dz2 = mydnif(z2,n)
%    dn_dz3 = mydnif(z3,n)

% Copyright 1997 The MathWorks, Inc.
% $Revision: 1.3.2.1 $

% ** Replace the following calculation with your
% **  derivative calculation.

d = n.^2 .* z.^2;

% **  Note that you have both the net input Z in question
% **  and output N available to calculate the derivative.

⌨️ 快捷键说明

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