-
Notifications
You must be signed in to change notification settings - Fork 2
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
Fast integration #42
Merged
Merged
Fast integration #42
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Owner
tnagler
commented
Nov 13, 2019
•
edited
Loading
edited
- Faster integration by sorting input.
- For k internal grid points and n evaluation points, the complexity went from O(nk) to O(n log n + k).
- benchmark
tnagler
added a commit
that referenced
this pull request
Nov 15, 2019
* bump version * add weights argument (#29) * remove unused variable (#26) * fix edf computation for deg = 2 * bump version + update docs * remove package cache on appveyor * weighted bandwidth selection * weighted fitting * adjust R interface * add unit tests * a few more sanity checks * update docs * update docs * fix devtools install link * stabilize weighted quantiles * ensure scale != 0 in case of too many ties * remove stripping of debug symbols * prepare release * update docs * allow already jittered input to be treated as continuous * some improvements to interpolation (#32) * use sample quantiles as grid points * fix unweighted quantile computation * improve safety of integral computations. * make sure that weighted version is consistent * improve grid extensions * fix boundary handling for bounded domain * fix interpolation bug when grid distance is small * install gsl * extend grid a bit further * fix bug for weighted quantile with zero weight * decrease lower bound for interpolation, related to vinecopulib/rvinecopulib#157 * More numerical stability (#35) * hybrid quantile/equidist grid * normalize weights * fix weighted influence and use it as safeguard * avoid double computation of influence fot deg = 0 * interpolant positivity and smooth extrapolation (#37) * switch to linear interpolation if result is negative * use positive constraints for spline coefficients * Gaussian tail for extrapolation * optimal bandwidths for all degrees (#38) * missing inline * fix levels in pkde1d * stabilize edf computation * tabs = 2 spaces (#39) * simplified, deterministic jittering (#40) * tabs = 2 spaces * simplified, deterministic jittering * prepare standalone c++ version with interface (#41) * rename lpdens -> kde1d * use namespaces * bw selection in Kde1d class * jittering + nan handling in cpp * statistical functions * constructor from interpolation grid * all discrete functionality in cpp * kde1d dir structure * seperate wrappers from interface * adapt R code * go to office * fix nans in grid * fix boundary transform order * refactor unit tests * Fast integration (#42) * rename lpdens -> kde1d * use namespaces * bw selection in Kde1d class * jittering + nan handling in cpp * statistical functions * constructor from interpolation grid * all discrete functionality in cpp * kde1d dir structure * seperate wrappers from interface * adapt R code * go to office * fix nans in grid * fix boundary transform order * refactor unit tests * unnormalized algorithm * faster integration by sorting input * Fit models with the fast fourier transform (#43) * isolate KdeFFT class * almost done with fft * proper weights in edf calculation * fix grid related issues * eliminate dead code * safer integration * reorder arguments for the feels * prepare release (#44) * Release 0.4.0 (#31) * bump version * add weights argument (#29) * remove unused variable (#26) * fix edf computation for deg = 2 * bump version + update docs * remove package cache on appveyor * weighted bandwidth selection * weighted fitting * adjust R interface * add unit tests * a few more sanity checks * update docs * update docs * fix devtools install link * stabilize weighted quantiles * ensure scale != 0 in case of too many ties * remove stripping of debug symbols * prepare release * update docs * bump version * update NEWS * update docs * update NEWS and DESCRIPTION * update API docs * backwards compatibility with bad code in rvineocpulib *sigh* * initialization order warning * typo in API doc * CRAN comments * API docs one more time
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.