Dear all,
I have some experimental data, by use of neural network I am trying to find a non-linear relation between my variants. I did that by applying below MATLAB codes.
p=dlmread('input.txt','',[0 0 3 11]);
t=dlmread('UTS.txt','',[0 0 0 11]);
net=newff(minmax(p),[5,7,1],{'purelin','logsig','purelin'},'traingd');
net.trainParam.show = 50;
net.trainParam.lr = 0.05;
net.trainParam.epochs = 10000;
net.trainParam.goal = 1e-4;
net.trainParam.mc = 0.5;
[net,tr]=train(net,p,t);
a=sim(net,p);
Now, I want to drive out the equation which correlates the inputs to the outputs so that I can use it as an objective function in order to be optimized by Genetic Algorithm. Once, I decided to use Wight matrixes and biases to obtain the function but I even could not find the right codes to obtain the weights and biases and also don't know the exact relation between the wights, biases, transfer functions, inputs and outputs.
I am getting confused.
Best Answer