LiveStats VS node-faststats

Compare LiveStats vs node-faststats and see what are their differences.

LiveStats

Online Statistical Algorithms for Python (by cxxr)

node-faststats

Quickly calculate statistics of a running stream of data (by bluesmoon)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
LiveStats node-faststats
1 1
76 191
- -
0.0 0.0
over 5 years ago over 3 years ago
Python JavaScript
GNU General Public License v3.0 or later GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

LiveStats

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

node-faststats

Posts with mentions or reviews of node-faststats. 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
    This is exactly the algorithm we developed at LogNormal (now part of Akamai) 10 years ago for doing fast, low-memory percentiles on large datasets.

    It's implemented in this Node library: https://github.com/bluesmoon/node-faststats

    Side note: I wish everyone would stop using the term Average to refer to the Arithmetic mean. "Average" just means some statistic used to summarize a dataset. It could be the Arithmetic Mean, Median, Mode(s), Geometric Mean, Harmonic Mean, or any of a bunch of other statistics. We're stuck with AVG because that's the function used by early databases and Lotus 123.

What are some alternatives?

When comparing LiveStats and node-faststats you can also consider the following projects:

timescale-analytics - Extension for more hyperfunctions, fully compatible with TimescaleDB and PostgreSQL 📈

Folly - An open-source C++ library developed and used at Facebook.

rolling-quantiles - Blazing fast, composable, Pythonic quantile filters.

t-digest - A new data structure for accurate on-line accumulation of rank-based statistics such as quantiles and trimmed means