-
Notifications
You must be signed in to change notification settings - Fork 9
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 API simplification #45
Comments
tpapp
added a commit
that referenced
this issue
Jul 25, 2019
Addresses most of #45. 1. Remove validating wrapper types, simply return tuples. 2. Split `logdensity` into two methods, `logdensity` and `logdensity_and_gradient`. 3. Simplify code. 4. Introduce capabilities traits. 5. Fix #33 by making a distinct `dimension`. 6. Organize code into a single file, mostly. 7. Simplify tests greatly.
tpapp
added a commit
that referenced
this issue
Jul 26, 2019
* Major API reorganization. Addresses most of #45. 1. Remove validating wrapper types, simply return tuples. 2. Split `logdensity` into two methods, `logdensity` and `logdensity_and_gradient`. 3. Simplify code. 4. Introduce capabilities traits. 5. Fix #33 by making a distinct `dimension`. 6. Organize code into a single file, mostly. 7. Simplify tests greatly. * improve coverage * rewrite docs * changelog for new release
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
logdensity
now has 4 versions. two would do (value, value + gradient), and the checks are kind of superfluous and don't work well with AD code. replace withlogdensity
andlogdensity_and_gradient
-Inf
or finite) as simple functionsLogDensityRejectErrors
, they interfere with ADThe text was updated successfully, but these errors were encountered: