LiveStats

Online Statistical Algorithms for Python (by cxxr)

LiveStats Alternatives

Similar projects and alternatives to LiveStats

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better LiveStats alternative or higher similarity.

LiveStats reviews and mentions

Posts with mentions or reviews of LiveStats. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-09-14.
  • How percentile approximation works (and why it's more useful than averages)
    8 projects | news.ycombinator.com | 14 Sep 2021
    Awhile ago I wrote a Python library called LiveStats[1] that computed any percentile for any amount of data using a fixed amount of memory per percentile. It uses an algorithm I found in an old paper[2] called P^2. It uses a polynomial to find good approximations.

    The reason I made this was an old Amazon interview question. The question was basically, "Find the median of a huge data set without sorting it," and the "correct" answer was to have a fixed size sorted buffer and randomly evict items from it and then use the median of the buffer. However, a candidate I was interviewing had a really brilliant insight: if we estimate the median and move it a small amount for each new data point, it would be pretty close. I ended up doing some research on this and found P^2, which is a more sophisticated version of that insight.

    [1]: https://github.com/cxxr/LiveStats

    [2]: https://www.cs.wustl.edu/~jain/papers/ftp/psqr.pdf

Stats

Basic LiveStats repo stats
1
76
0.0
over 5 years ago

cxxr/LiveStats is an open source project licensed under GNU General Public License v3.0 or later which is an OSI approved license.

The primary programming language of LiveStats is Python.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com