Hello everyone, I'm trying to create a neural network which relates voltage(input) to air gap depth(output). There is no training happening after I use the train command, my network outputs the target values. I want to fix that. Also, something extra, each value in one sample in the input corresponds to a frequency value.(for example V1=[1 2 3], the value 1 is at 1GHz frequency, 2 at 1.1GHz…etc) Is there any way to relate the inputs to the frequency maybe as a pair?
-The code I used:
D = [4 8 12 16 20 24 28 32];
DO = [D;D;D].'; %the air gap depth for each sample is the same, why can't I use one "D" ?
V2 = [777 786 780 772 774 767 762 753];
V3 = [595 600 602 598 606 605 602 590];
V4 = [580 581 594 602 603 609 630 633];
VI = [V2;V3;V4].';
NET = feedforwardnet(10);
NET.trainParam.goal=1e-10; %I tried to change the error to see if there is any change
NET = train(NET,VI,DO);
%Testing
Y = NET(VI)
Best Answer