Home > freetb4matlab > nnet > newff.m

newff

PURPOSE ^

% @code{newff} create a feed-forward backpropagation network

SYNOPSIS ^

function net = newff(Pr,ss,transFunc,trainFunc,notUsed,performFunc)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {@var{net}} = newff (@var{Pr},@var{ss},@var{trf},@var{btf},@var{blf},@var{pf})
% @code{newff} create a feed-forward backpropagation network
%
% @example
% Pr - R x 2 matrix of min and max values for R input elements
% Ss - 1 x Ni row vector with size of ith layer, for N layers
% trf - 1 x Ni list with transfer function of ith layer,
%       default = 'tansig'
% btf - Batch network training function,
%       default = 'trainlm'
% blf - Batch weight/bias learning function,
%       default = 'learngdm'
% pf  - Performance function,
%       default = 'mse'.
% @end example
%
% @example
% EXAMPLE 1
% Pr = [0.1 0.8; 0.1 0.75; 0.01 0.8];
%      it's a 3 x 2 matrix, this means 3 input neurons
%
% net = newff(Pr, [4 1], @{'tansig','purelin'@}, 'trainlm', 'learngdm', 'mse');
% @end example
%
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003