Filter löschen
Filter löschen

how to coding push button using MATLAB GUI for neural network?

1 Ansicht (letzte 30 Tage)
Ahmad Farhan
Ahmad Farhan am 14 Jun. 2015
hi,
i want to create a Gui for my nueral network as shown in figure below. when the user click the 'training button', it will the train the network that i create. when the user enter a value for Value1 - Value6 and click the 'simulation button', it will display the result in the 'result box'. the 'simulation button' is for simulate the network.
here is my coding for NN (i use feedforward backpropagation)
load train_input;
load train_target;
load test_input;
load test_target;
x1 = train_input;
t1 = train_target;
x2 = test_input;
t2 = test_target;
net = newff(minmax(x1),[13,2],{'tansig' 'logsig'},'trainlm');
net = init(net);
net.trainParam.show = 5;
net.trainParam.epochs = 1000;
net.trainParam.goal = 1e-5;
[net,tr]=train(net,x1,t1);
a = sim(net,x1);
i put this coding in training button callback. can anyone help me how to coding for my simulation button? thanks...
  1 Kommentar
Mohamed Abdelhameed
Mohamed Abdelhameed am 19 Mär. 2017
Hi Ahmed, Please did you get any help in linking your network to the simulation button ?
Thanks in advance.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by