can you please explain the logic of this code???
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
net1 = newff(minmax(T),[60 50 1],{'logsig','logsig','purelin'},'trainrp');
net1.trainParam.show = 6000;
net1.trainParam.lr = 0.20;
net1.trainParam.epochs = 13000;
net1.trainParam.goal = 3e-10;
0 comentarios
Respuestas (1)
Jayanti
el 9 de Jul. de 2025
Hi Priyanka,
The provided MATLAB code is use to create a feedforward neural network. First line creates a 3-layer feedforward neural network using the "newff" function with 60 and 50 neurons in first and second hidden layer with "logsig" activation function followed by 1 neuron in output layer with "purelin" activation. "minmax(T)" specifies the input range based on the minimum and maximum values of the input data "T".
The following code lines sets the training progress, learning rate, epochs and goals of the network.
Also note that the function "newff" has been obselete. You can refer to the below MATLAB Answers thread for more information:
0 comentarios
Ver también
Categorías
Más información sobre Deep Learning Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!