Is there any way to generate code for nntool?

18 次查看(过去 30 天)
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 个评论
Satyam tiwari
Satyam tiwari 2020-6-14
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

请先登录,再进行评论。

回答(2 个)

Walter Roberson
Walter Roberson 2018-9-18
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 2018-9-18
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!

Translated by