Can patternnet have no hidden layers?

Can patternnet or feedforwardnet have no hidden layers? The documentation says the first argument should be a "Row vector containing one or more hidden layers". What if I want no hidden layers at all?

 Respuesta aceptada

Greg Heath
Greg Heath el 14 de Jun. de 2013

0 votos

net = patternnet([]);
Similarly for all other net creation functions.
Hope this helps.
Thank you for formally accepting my answer
Greg

Más respuestas (0)

Categorías

Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by