Course Code::: Neural Network and Fuzzy Logics ECE3008
Course Code::: Neural Network and Fuzzy Logics ECE3008
Prof.Neha Gupta -
Name: M.Sankeerth
Reg No: 17BEV7002
1. Use back propagation algorithm to approximate the following function ()=1+cos
(pi/4) −5≤≤5. The training stops when the Mean Square Error (MSE) reaches zero
or a predefined maximum number of epochs is reached. Design Multilayer Perceptron
neural network with 1 hidden layer and 3 neurons in hidden layer. Use log-sigmoid and
tangent sigmoid transfer function in hidden layer and output layer respectively. Plot the
actual and estimated value of approximated function.
Sol:
Code written in Matlab
Considered Error metric as :MSE (Mean Square Error)
Outputs:
Plotting the function f(x) = 1+cos((pi/4)*x) in the range -5 to 5
Plotting the Actual And Estimated plot of the given function:
*********************************************************************************************************
Q2
: Implement the ART-1 learning algorithm to cluster six patterns [1, 0, 0, 0, 0], [1, 1, 0, 0, 0], [0,
0, 1, 0, 0], [0, 1, 1, 1, 0], [0, 0, 0, 1, 1] and [0, 0, 0, 0, 1] into three clusters. The following set of
parameter values are to be used: Vigilance parameter= .5, Learning parameter=2. Repeat the
experiment again for Vigilance parameter= .9, what changes did you observe?
Solution :
Observation: