whats this code all about?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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;
0 Kommentare
Antworten (1)
Greg Heath
am 12 Jan. 2016
It is a PATTERNNET classifier. However, H = 70 without validation data sounds fishy. Can't tell unless input and target matrix sizes are given.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Define Shallow Neural Network Architectures finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!