When comparing with the network output with desired output, if there is error the weight vector w(k) associated with the ith processing unit at the time instant k is corrected (adjusted) as
w(k+1) = w(k) + D[w(k)]
where, D[w(k)] is the change in the weight vector and will be explicitly given for various learning rules.
Delta Learning rule is given by:
w(k+1) = w(k) + eta*[ d(k) - f{ w'(k)*x(k) } ] *f'{ w'(k)*x(k) } *x(k)
Widrow-Hoff Learning rule is given by:
w(k+1) = w(k) + eta*[ d(k) - w'(k)*x(k) ] *x(k)
here: f{ w'(k)*x(k) } = w'(k)*x(k)
Bhartendu (2021). Delta Learning, Widrow Hoff Learning (https://www.mathworks.com/matlabcentral/fileexchange/63050-delta-learning-widrow-hoff-learning), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.