Skip to content
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

Check if log density supports LogDensityProblems #111

Merged
merged 5 commits into from
Dec 29, 2022
Merged

Conversation

devmotion
Copy link
Member

This PR proposes to check if the log density actually supports the LogDensityProblems interface when constructing a LogDensityModel.

Addresses TuringLang/AdvancedHMC.jl#301 (comment).

src/logdensityproblems.jl Outdated Show resolved Hide resolved
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@codecov
Copy link

codecov bot commented Dec 29, 2022

Codecov Report

Base: 97.19% // Head: 95.51% // Decreases project coverage by -1.67% ⚠️

Coverage data is based on head (ec80b2b) compared to base (18ea3f1).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #111      +/-   ##
==========================================
- Coverage   97.19%   95.51%   -1.68%     
==========================================
  Files           7        8       +1     
  Lines         285      290       +5     
==========================================
  Hits          277      277              
- Misses          8       13       +5     
Impacted Files Coverage Δ
src/AbstractMCMC.jl 100.00% <ø> (ø)
src/logdensityproblems.jl 0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@devmotion devmotion merged commit 50cdf04 into master Dec 29, 2022
@delete-merged-branch delete-merged-branch bot deleted the dw/logdensity branch December 29, 2022 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants