feedforwardnet
(To be removed) Generate feedforward neural network
feedforwardnet will be removed in a future release. For more information,
see Transition Legacy Neural Network Code to dlnetwork Workflows.
For advice on updating your code, see Version History.
Description
returns a feedforward neural network with a hidden layer size of
net = feedforwardnet(hiddenSizes,trainFcn)hiddenSizes and training function, specified by
trainFcn.
Feedforward networks consist of a series of layers. The first layer has a connection from the network input. Each subsequent layer has a connection from the previous layer. The final layer produces the network’s output.
You can use feedforward networks for any kind of input to output mapping. A feedforward network with one hidden layer and enough neurons in the hidden layers can fit any finite input-output mapping problem.
Specialized versions of the feedforward network include fitting and pattern recognition networks.
A variation on the feedforward network is the cascade forward network, which has additional connections from the input to every layer, and from each layer to all following layers.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2010bSee Also
fullyConnectedLayer | Time Series
Modeler | Deep Network
Designer | fitrnet (Statistics and Machine Learning Toolbox) | fitcnet (Statistics and Machine Learning Toolbox) | trainnet | trainingOptions | dlnetwork

