Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use this package? #1

Open
xiaodaigh opened this issue Nov 18, 2019 · 3 comments
Open

How to use this package? #1

xiaodaigh opened this issue Nov 18, 2019 · 3 comments

Comments

@xiaodaigh
Copy link

So I got a bunch of values that I want to tdigest. In R I just do

set.seed(1)
x = rchisq(10000, 5)
xt = tdigest(x, 10)

how do I do the same using your package? An example would be nice

using Distributions
x = rand(Chi(5), 10_000)
xt = ???
@heliosdrm
Copy link
Owner

Hi, thanks for your interest. This package is an attempt to implement t-digests in Julia, as a faster and cheaper alternative to take small quantiles from streamed data without creating histograms. But eventually I failed to make anything that takes less time or memory than the stdlib function quantile, so I'm not maintaining it.

It remains on Github just for the record, in case some day I learn how to meet this target, or somebody takes over it.

@xiaodaigh
Copy link
Author

Maybe add that to the read me so it's clearer. Google turns up this as the only t digest in Julia

@xiaodaigh
Copy link
Author

Have u compared it to OnlineStats.jl?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants