Question: Task 1: Feed Forward Neural Network Here is a problem consisting of inputs P and targets T to be solved with a network. Here a

Task 1: Feed Forward Neural Network Here is a problem consisting of inputs P and targets T to be solved with a network. Here a network is created with one hidden layer of five neurons. net = newff(P,T,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 (use the command load simplefit dataset) b) simplecluster dataset (use the command load 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-I)], { TF1 TF2...TFNI\}, BTF, BLF,PF,IPF, OPF, DDF) takes several arguments PRQ1 matrix of Q1 sample R-element input vectorsTSN Q2 matrix of Q2 sample SN element target vectorsSiSize of ith layer, for N-1 layers, default =[1. (Output layer size SN is determined from T.)TFiTransfer function of ith layer. (Default = 'tansig' for hidden layers and 'purelin' for output layer.)BTFBackpropagation network training function (default = 'trainlm')BLFBackpropagation weight/bias learning function (default = 'learngdm')PFPerformance function. (Default = 'mse')IPFRow cell array of input processing functions. (Default ={ fixunknowns','removeconstantrows','mapminmax }) OPFRow cell array of output processing functions. (Default ={ 'removeconstantrows','mapminmax'\}\})DDFData divison function (default = 'dividerand'), and returns an N-layer feed-forward backpropagation network. The transfer functions TFi can be any differentiable transfer function such as tansig, logsig, or purelin. The training function BTF can be any of the backpropagation training functions such as trainlm, trainbfg, trainrp, traingd, etc
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
