Iteratively calculating standard deviation for streamed data
AssigneeMicrosoft Technology Licensing, LLC
InventorJizhu Lu
Life of this patent
Estimating the term…
Loading patent…
AssigneeMicrosoft Technology Licensing, LLC
InventorJizhu Lu
Estimating the term…
The present invention extends to methods, systems, and computer program products for iteratively calculating standard deviation for streamed data. Embodiments of the invention include iteratively calculating standard deviation in a current computation window based on the standard deviation calculation for a previous computation window. Iteratively calculating standard deviation avoids visiting all previous input and performing redundant computations thereby increasing calculation efficiency. In general, streaming data is added to a buffer of size n until the buffer is filled up. Once the buffer is filled, a sum and standard deviation are calculated for the first n data points. As new data elements are received, a new sum is calculated by reusing the prior sum and a new standard deviation is calculated by reusing the prior standard deviation.
At a computer system, the computer system including one or more processors and system memory, the computer system having a buffer for storing streamed data elements, the computer system maintaining a buffer window length, the buffer window length indicating a specified number of streamed data elements for filling a computation window for the buffer, a method for calculating standard deviation for streamed data elements in the computation window, the method comprising:
A computer program product for use at a computer system, the computer system having a buffer for storing streamed data elements, the computer system maintaining a buffer window length, the buffer window length indicating a specified number of streamed data elements for filling a computation window for the buffer, the computer program product for implementing a method for calculating standard deviation for streamed data elements in the computation window, the computer program product comprising one or more computer storage devices having stored thereon computer-executable instructions that, when executed at a processor, cause the computer system to perform the method, including the following:
A computer system, the computer system comprising:
Dependencies are inferred from the claim text.