How can i write a Functional link neural network Algorithm

Can anyone help me with writing of this Functional link neural network
1) start
2)Initialize four inputs to the system i.e peak freaquncy (x1), mean frequncy (x2), root mean square (x3) and sample entropy (x4)
3) Initialize the weighting parameters w1, i = 1 · · · n
4) Make the functional block (FLANN) as Xi = [1, x1, sin(πx1), cos(πx1), x2, sin(πx2), cos(πx2) · · ·up to x4 ]
5) Calculate the output of the system =NΣi=1Oi wi ∗ Xi
6) Calculate the error of the system ei = di − Oi where di is the desired output where Oi estimated output of the system.
7) Updating the weights wi(k + 1) = wi(k) + αei(k)xi(k) where k is the time index and α is the momentum parameter

Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Asked:

on 17 Sep 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!