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?

 채택된 답변

Greg Heath
Greg Heath 2013년 6월 14일

0 개 추천

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

추가 답변 (0개)

카테고리

도움말 센터File 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