competlayer
(To be removed) Competitive layer
competlayer 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.
Syntax
competlayer(numClasses,kohonenLR,conscienceLR)
Description
Competitive layers learn to classify input vectors into a given number of classes, according to similarity between vectors, with a preference for equal numbers of vectors per class.
competlayer(numClasses,kohonenLR,conscienceLR) takes these
arguments,
numClasses | Number of classes to classify inputs (default = 5) |
kohonenLR | Learning rate for Kohonen weights (default = 0.01) |
conscienceLR | Learning rate for conscience bias (default = 0.001) |
and returns a competitive layer with numClasses neurons.
Examples
Version History
Introduced in R2010bSee Also
Time Series
Modeler | fitrnet (Statistics and Machine Learning Toolbox) | fitcnet (Statistics and Machine Learning Toolbox) | trainnet | trainingOptions | dlnetwork

