-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add a evaluate
function that returns logprior and loglikelihood
#247
Conversation
Pull Request Test Coverage Report for Build 12184482120Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
evaluate
function that returns logprior and loglikelihoodevaluate
function that returns logprior and loglikelihood
Benchmark results on macOS (aarch64) BridgeStan not found at location specified by $BRIDGESTAN environment variable, downloading version 2.5.0 to /Users/runner/.bridgestan/bridgestan-2.5.0
Benchmark results on Ubuntu (x64) BridgeStan not found at location specified by $BRIDGESTAN environment variable, downloading version 2.5.0 to /home/runner/.bridgestan/bridgestan-2.5.0
|
use `_tempered_evalaute!!` function introduced in #247 to reduce duplicated code
_tempered_evaluate!!
returns updatedevaluation_env
and a NamedTuple oflogprior
,loglikelihood
andtempered_logjoint
(tempered_logjoint = logprior + temperature * loglikelihood(x)
).