-
Notifications
You must be signed in to change notification settings - Fork 40
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
Make KDE a distribution and implement other Distributions method #58
Comments
I'm going to bump this thread. In addition to |
Yes this sounds like an obviously good improvement. |
Yes, it would also be nice to have a |
Also |
I was just looking at the internals of this library, checking other things and I noticed this. Unfortunately, What one can do is to introduce a new interface which does store it, make a new type like |
Would implementing the basic interface for a |
@alonsoC1s Alas, no. The reason is this library has a bad structure. To sample from the KDE you need the parameters of the fit. Here, they are calculated inside algorithm, but the are not stored nor returned. The only thing it stores are the values of estimated pdf at discrete set of points. You can sample from that, but I would not recommend it, it would be an ugly approximation prone to strange errors. |
It would be nice to have:
cdf
using QuadGK? OrStatsBase.ecdf
?quantile
usingcdf
with bijection methodThe text was updated successfully, but these errors were encountered: