hiddenLayerSize = 70;
net = patternnet(hiddenLayerSize);
net.trainFcn = 'traingdx';
net.trainParam.epochs = 100;
net.performFcn = 'mse'; % Mean squared error
net.divideParam.trainRatio = 100/100;
net.divideParam.valRatio = 0/100;
net.divideParam.testRatio = 0/100;

답변 (1개)

Greg Heath
Greg Heath 2016년 1월 12일

0 개 추천

It is a PATTERNNET classifier. However, H = 70 without validation data sounds fishy. Can't tell unless input and target matrix sizes are given.

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

질문:

2015년 2월 19일

편집:

2016년 1월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by