whats this code all about?

2 ビュー (過去 30 日間)
computer bronze
computer bronze 2015 年 2 月 19 日
編集済み: Walter Roberson 2016 年 1 月 12 日
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 日
It is a PATTERNNET classifier. However, H = 70 without validation data sounds fishy. Can't tell unless input and target matrix sizes are given.

Community Treasure Hunt

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

Start Hunting!

Translated by