• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
  • salvin francis
  • Piet Souris

Implementierung des Least Mean Squares Algorithmus

Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to implement the LMS algorithm. First, I generate the inputs in the intervall [0,5] with 51 entries. A function y gives me the outputs. The target values are calculated from y. Therefore I add a random number to y.

Psi soll eine Transformation darstellen der Form (1,x,x^d)
Where Psi is a transformation Psi(x) = (1,x,x^d). To calculate the gradient, I followed these Script. I set g to w so that both vectors have the same shape.

In the final step, I called the gradient function within the LMS implementation

When I finally call the functiom LMS, I do not get an error, but the algorithm does not determin. I probably have done something wrong with the gradient implementation but I can't figure out what.
I hope somebody can help me here.
pie. tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!