Is it possible to change the number of hidden layer in nprtool?
조회 수: 10 (최근 30일)
이전 댓글 표시
I was tasked by my supervisor to create a pattern recognition neural network by using nprtool and change the number of hidden layers in the network to observe the relationship between the number of hidden layers and the classification accuracy of neural network. I know that number of hidden neurons can be manipulated but I do not know how to change the amount of hidden layer. Can anyone help me with this issue?
댓글 수: 0
답변 (1개)
Stephan
2021년 3월 20일
net = patternnet(10);
view(net)
or if you need more hidden layers e.g. 3 use:
net1 = patternnet([10, 10, 10]);
view(net1)
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Data Workflows에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!