Data and ML 0/68

Data and ML

Streaming statistics

Rolling correlations, moving averages and exponential smoothing kept up to date as each value arrives, without losing precision. Floating-point error accumulates in a running sum, so the update formula matters as much as its cost.

0 / 3 problems solved

Reading

  1. What Every Computer Scientist Should Know About Floating-Point Arithmetic(opens in a new tab)

    Goldberg 1991 ACM Computing Surveys 180 min

    A tutorial on IEEE 754 floating point: how results are rounded, how relative error and units in the last place measure the rounding, why subtracting nearly equal numbers loses accuracy, and what guard digits, infinities, NaNs and denormalized numbers are for.