whats this code all about?

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;

Risposte (1)

Greg Heath
Greg Heath il 12 Gen 2016

0 voti

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

Categorie

Scopri di più su Deep Learning Toolbox in Centro assistenza e File Exchange

Richiesto:

il 19 Feb 2015

Modificato:

il 12 Gen 2016

Community Treasure Hunt

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

Start Hunting!

Translated by