Question: I need the code, use any octave app. Solve it numerically Task 1: Feed Forward Neural Network Here is a problem consisting of inputs P
I need the code, use any octave app. Solve it numerically

Task 1: Feed Forward Neural Network Here is a problem consisting of inputs P and targets T to be solved with a network. P = [0 1 2 3 4 5 6 7 8 9 10); T = {0 1 2 3 4 3 2 1 2 3 4]; Here a network is created with one hidden layer of five neurons. net = newff(P,1,5); The network is simulated and its output plotted against the targets. Y = sim(net,P); plot(P,T,P,Y,'o') The network is trained for 50 epochs. Again the network's output is plotted. net.trainParam.epochs = 50; net = train(net,P.T); Y = sim(net,P); plot(P,T,P,Y,'o") Change the training epochs to 100 and 1000, and plot again. Copy the plotted figures (4 figures) and prepare a one-page report including your comments under each figure. Task 2: Repeat task 1 for a simplefit_dataset b) simplecluster_dataset Using 50 and 1000 epochs in the training, each with 5 and 20 hidden layers and report the figures (8 figures in total) obtained with your comments. Description newff(P,T,[S1 S2...S(N-1)),{TF1 TF2...TENI), BTF,BLF, PF,IPF,OPF,DDF) takes several arguments PRX Q1 matrix of Q1 sample R-element input vectors TSN XQ2 matrix of Q2 sample SN- element target vectorsSiSize of ith layer, for N-1 layers, default = [ ] (Output layer size SN is determined from T.)TFiTransfer function of ith layer. (Default = 'tansig' for
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
