how to set goal in training parameter in nntool?

10 vues (au cours des 30 derniers jours)
santosh sarkar
santosh sarkar le 28 Nov 2014
network type- feed forward back propagation training function- trainlm adapting learning function- learngdm

Réponses (1)

Jayanti
Jayanti le 3 Juil 2025
Hi Santosh,
From MATLAB R2022a "nntool" has been removed. Instead "nnstart" provides graphical interfaces that allow you to design and deploy fitting, pattern recognition, clustering, and time-series neural networks.
But as per MATLAB R2025a, I cannot find any direct way to set the goal through the GUI interface. But you can set the "goal" manually by generating the training code and modifying it:
Refer to the below steps for more details:
  • In the app, click "Generate Code" in the export section of toolstrip.
  • This opens a MATLAB script with all the network creation and training steps.
  • In that script, add below code to set "goal" before training the network.
% Set your desired goal value
net.trainParam.goal = 0.01;
You can also refer to the below link to check the version history of "nntool":

Catégories

En savoir plus sur Deep Learning Toolbox dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by