Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Aging a dataset

Tags:

algorithm

math

For reasons I'd rather not go into, I need to filter a set of values to reduce jitter. To that end, I need to be able to average a list of numbers, with the most recent having the greatest effect, and the least recent having the smallest effect. I'm using a sample size of 10, but that could easily change at some point.

Are there any reasonably simple aging algorithms that I can apply here?

like image 311
Lee Crabtree Avatar asked May 22 '26 06:05

Lee Crabtree


1 Answers

  • Have a look at the exponential smoothing. Fairly simple, and might be sufficient for your needs. Basically recent observations are given relatively more weight than the older ones.
  • Also (depending on the application) you may want to look at various reinforcement learning techniques, for example Q-Learning or TD-Learning or generally speaking any method involving the discount.
like image 124
Anonymous Avatar answered May 25 '26 05:05

Anonymous



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!