Can patternnet have no hidden layers?

2 visualizaciones (últimos 30 días)
Andrew Hatch
Andrew Hatch el 21 de Abr. de 2013
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
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 Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by