-
Notifications
You must be signed in to change notification settings - Fork 0
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
Major cleanup and standardization of naming conventions. #9
Merged
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
using the quadratically convergent method described by Defeng Sun et al.
key utilities added from old develop/experimental branch
For large covariance matrices, the GPU jax implementation of random multivariate normal is as fast or faster than mvnfast
added building blocks for rvec and jax support
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.
Functions that are more secondary to the package are now prefixed with some kind of identifier. E.g. any function dealing with correlations is prefixed
cor_
while functions that are purely implemented in jax are prefixedjax_
.The main function
rvec
is currently stripped down to a minimal (single core) version. The intention is to build it back up with the idea in mind that it will be able to handle any list of marginals, and any input type of correlation matrix.Unit testing is now a thing. All code, whether exported or not, should be documented and have it's own unit test (via
testthat
). Trivial functions are not as important to test if it is really obvious that they should work. More complex functions definitely need to be tested, and there should be comments about the assumptions of what can go into a function, and what should come out. E.g. something that produces or works on a correlation matrix should produce a matrix that is symmetric with ones on the diagonal (as a start).This is a pull request to the develop branch as we will likely need to make some small changes to the
.travis.yml
file and set up this repo for Travis-CI. This will be the last stop before merging into the master branch and setting a new release.