Main Content
patternnet
Generate pattern recognition network
Description
returns a pattern recognition neural network with a hidden layer size of
net
= patternnet(hiddenSizes
,trainFcn
,performFcn
)hiddenSizes
, a training function, specified by
trainFcn
, and a performance function, specified by
performFcn
.
Pattern recognition networks are feedforward networks that can be trained to classify
inputs according to target classes. The target data for pattern recognition networks should
consist of vectors of all zero values except for a 1 in element i
, where
i
is the class they are to represent.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2010b