how to set goal in training parameter in nntool?

조회 수: 12 (최근 30일)
santosh sarkar
santosh sarkar 2014년 11월 28일
답변: Jayanti 2025년 7월 3일
network type- feed forward back propagation training function- trainlm adapting learning function- learngdm

답변 (1개)

Jayanti
Jayanti 2025년 7월 3일
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":

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by