Remove the mean continuously
Posted: 15 Jul 2008, 09:56
Hello,
I'm trying to make a small modification to the LinearClassifier so that, before it applies the weight, it removes the mean of that input over a period of time. I tried implementing it by using a 2-dimensional vector (EntriesInTable X BufferLength). I update the buffer for every iteration of the program and calculate the mean before applying the classifier weights.
The problem I have is that my processor usage goes up to 100% even before it reaches the point to update the buffer (before the buffer length is reached). Is there a better way to implement this? I can send chunks of code if necessary.
Thanks,
Gus
I'm trying to make a small modification to the LinearClassifier so that, before it applies the weight, it removes the mean of that input over a period of time. I tried implementing it by using a 2-dimensional vector (EntriesInTable X BufferLength). I update the buffer for every iteration of the program and calculate the mean before applying the classifier weights.
The problem I have is that my processor usage goes up to 100% even before it reaches the point to update the buffer (before the buffer length is reached). Is there a better way to implement this? I can send chunks of code if necessary.
Thanks,
Gus