Can patternnet have no hidden layers?

4 次查看(过去 30 天)
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?

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Deep Learning Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by