the following code is to get neural network output in term of weights and biases for one single output how i can rewirte the code for neural network with 2 outputs
1 view (last 30 days)
Show older comments
L=length(outputs);
for i=1:L
x=inputs(:,i);
y1=w1*x+b1;
y1=tansig(y1);
y22=w2*y1+b2;
y2(i)=purelin(y22);
end
0 Comments
Answers (1)
See Also
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!