neuralnet

Class representing neural network object created in Neural Network Toolbox™ product for estimating nonlinear ARX and Hammerstein-Wiener models

Syntax

n=neuralnet(Network)

Description

neuralnet is an object that stores the neural network nonlinearity estimator for estimating nonlinear ARX and Hammerstein-Wiener models.

You can use the constructor to create the nonlinearity object, as follows:

n=neuralnet(Network) creates a neural network nonlinearity estimator based on the network object you created using the Neural Network Toolbox product.

The neural network must meet the following requirements:

Use evaluate(n,x) to compute the value of the function defined by the neuralnet object n at x.

Remarks

Use neuralnet to define a nonlinear function , where F is a multilayer feedforward neural network, as defined in the Neural Network Toolbox documentation.

y is a scalar and x is an m-dimensional row vector.

When you have installed the Neural Network Toolbox product, you can create a multilayer feedforward neural network using newff:

ff = newff(P,T,[nL_1,nL_2,..,nL_r],{tf_1,tf_2,...,tf_r})

where P is an m-by-N matrix containing inputs x, and T is a 1-by-N matrix containing output (target) values for one of the model outputs. You can also use newcf

There are r+1 layers and nL_k neurons in the kth layer, except for the last layer. The last layer has one neuron assigned automatically, such that nL_(r+1)=1. The transfer function (or unit function) in the kth layer is tf_k.

If m is unknown at the time of creation of the network, use P = zeros(0,N) with arbitrary N>0. After this initialization, m is adjusted to the estimation data by nlarx or nlhw. Similarly, you can set T to any vector (number of rows=1).

neuralnet Properties

You include the property as an argument in the constructor to specify the object.

After creating the object, you can use get or dot notation to access the object property values. For example:

% List Network property value
get(n)
n.Network

You can also use the set function to set the value of particular properties. For example:

set(d, 'Network', net_obj)

The first argument to set must be the name of a MATLAB® variable.

Property NameDescription
NetworkNeural network object. You must use the Neural Network Toolbox newff or newcf command to create such an object.

The neural network object property values must satisfy the following requirements to work with System Identification Toolbox™ software:

Examples

Use neuralnet to specify the neural network nonlinearity estimator in nonlinear ARX and Hammerstein-Wiener models. For example:

% Create network object using Neural Network Toolbox
net_obj=newff(zeros(0,10),rand(1,10),[6 8 2]...
                  {'logsig','logsig','purelin'})
% Estimate nonlinear ARX model using
% net_obj as the neural network
m=nlarx(z1,[2,6,10],neuralnet(net_obj));

See Also

nlarx 
nlhw 

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS