GithubHelp home page GithubHelp logo

edoliberty / streaming-quantiles Goto Github PK

View Code? Open in Web Editor NEW
52.0 52.0 23.0 235 KB

Implements the Karnin-Lang-Liberty (KLL) algorithm in python

License: Apache License 2.0

Python 39.03% Gnuplot 0.09% Jupyter Notebook 60.88%

streaming-quantiles's People

Contributors

edoliberty avatar leerho avatar mvsusp avatar pavelvesely avatar tdunning avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

streaming-quantiles's Issues

What is the license for this software?

The important code files have a file header that says that they are Apache licensed, but the README says
this:

It should NOT be used for any commercial purposes.

Such a restriction is incompatible with the Apache license. If you want the code to be licensed as
Apache, it would help your readers if you would clarify this statement. Perhaps you meant that it
should be read as "this code should not be considered production ready"?

In addition, if you want the Apache license to apply and for this to be recognized by the github
automated scanners, it would help all around if you would insert a LICENSE containing the
full and literal text of the Apache.

My own stake in this is that I would like to use this code for testing and benchmarking of the t-digest,
but since I have a strict Apache license on the entire t-digest distro, I can't afford the ambiguity here.

I will produce a pull request with these changes that you can accept for deny according to your preference.

How to set k?

Hi,
I am a little bit confused about this.
If I want to set the ε to 0.01, which means that | R̃(x) − R(x)| ≤ 0.01 * n. What value should k be set?
Is there some certain connection between k and ε? I am looking forward to your reply.

Sampler?

Dear Author Liberty,
Thank you so much for providing the KLL sketch codes. In the "Optimal Quantile Approximation in Streams" and "Streaming Quantiles Algorithms" they both talked about replace the log(n) stack of compactors of capacity 2 with a sampler. I have serveral questions regarding the sampler.
If without sampler, will KLL becomes a deterministic algorithm?
In this implementation, sampler are not included?

With Many Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.