Clear Filters
Clear Filters

Is there any way to generate code for nntool?

19 views (last 30 days)
I am developing code using nntool for classification and regression analysis on the IRIS data . But I am not getting satisfactory result . So is there any way to customize the code for feedforward neural network in nntool and change the activation function in each layer and changing the learning function ? Is there any way to generte the code for that ?
  1 Comment
Satyam tiwari
Satyam tiwari on 14 Jun 2020
Hello Arijit,
I have been doing same (Classification and Regression) for my Data, but for regression I could not get any lead. do you think you can help me with the code.
Thank you

Sign in to comment.

Answers (2)

Walter Roberson
Walter Roberson on 18 Sep 2018
No, those things cannot be done.
nntool is a convenient graphic interface designed to simplify use of the underlying software for common cases. Software gets simplified by not permitting choices. If your needs exceed what is possible with nntool then it is time to start using underlying software instead trying get nntool to do things that it is designed to not do (because doing them would make the software too complicated to meet the KISS goal .)

Brendan Hamm
Brendan Hamm on 18 Sep 2018
The nntool does not allow this, but you can generate the code for setting up and training a classification problem, which I assume you are doing with the IRIS data set. To do this use nprtool and the last page allows you to generate a script or advanced script. From here you can modify the code to change Transfer Functions etc.
I have attached the output advance script for your convenience.

Community Treasure Hunt

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

Start Hunting!