In Data Streams
The concept of an average can be applied to a stream of data as well as a bounded set, the goal being to find a value about which recent data is in some way clustered. The stream may be distributed in time, as in samples taken by some data acquisition system from which we want to remove noise, or in space, as in pixels in an image from which we want to extract some property. An easy-to-understand and widely used application of average to a stream is the simple moving average in which we compute the arithmetic mean of the most recent N data items in the stream. To advance one position in the stream, we add 1/N times the new data item and subtract 1/N times the data item N places back in the stream.
- Update rule for a window of size upon seeing new element :
Read more about this topic: Average
Famous quotes containing the words data and/or streams:
“Mental health data from the 1950s on middle-aged women showed them to be a particularly distressed group, vulnerable to depression and feelings of uselessness. This isnt surprising. If society tells you that your main role is to be attractive to men and you are getting crows feet, and to be a mother to children and yours are leaving home, no wonder you are distressed.”
—Grace Baruch (20th century)
“It is from quiet places like this all over the world that the forces accumulate which presently will overbear any attempt to accomplish evil on a large scale. Like the rivulets gathering into the river, and the river into the seas, there come from communities like this streams that fertilize the consciences of men, and it is the conscience of the world that we are trying to place upon the throne which others would usurp.”
—Woodrow Wilson (18561924)