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

Some bugfixes #125

Merged
merged 3 commits into from
Apr 2, 2022
Merged

Some bugfixes #125

merged 3 commits into from
Apr 2, 2022

Conversation

st--
Copy link
Member

@st-- st-- commented Apr 1, 2022

Also see #126. This one is ready for merging though.

@st-- st-- requested a review from willtebbutt April 1, 2022 16:54
src/ApproximateGPs.jl Outdated Show resolved Hide resolved
src/LaplaceApproximationModule.jl Outdated Show resolved Hide resolved
st-- and others added 2 commits April 1, 2022 19:56
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@st-- st-- marked this pull request as ready for review April 1, 2022 16:57
@st-- st-- requested a review from theogf April 1, 2022 16:58
@st-- st-- mentioned this pull request Apr 1, 2022
@st--
Copy link
Member Author

st-- commented Apr 1, 2022

Just need to re-run CI once AbstractGPs 0.5.11 is released

Copy link
Collaborator

@rossviljoen rossviljoen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM once the new AbstractGPs is released and tests pass

@@ -306,7 +306,7 @@ Statistics. PMLR, 2015.
"""
function AbstractGPs.elbo(
sva::SparseVariationalApproximation,
fx::FiniteGP{<:AbstractGP,<:AbstractVector,<:Diagonal{<:Real,<:Fill}},
fx::FiniteGP{<:AbstractGP,<:AbstractVector,<:Union{Diagonal{<:Real,<:Fill},ScalMat}},
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably be in a seperate issue, but I think that this is too restrictive of a type constraint - it depends too much on implementation details of AbstractGPs (which is why it broke in the first place) and isn't extensible. I'm pretty sure I wrote it in the first place, so I'll make a PR to change it once this one's in - but what do people think about it?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd be happy for it to become cleaner, go ahead:) - what would be a better way of checking though?

@codecov
Copy link

codecov bot commented Apr 1, 2022

Codecov Report

Merging #125 (b7c66f8) into master (490ece8) will decrease coverage by 0.30%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #125      +/-   ##
==========================================
- Coverage   93.61%   93.30%   -0.31%     
==========================================
  Files           5        4       -1     
  Lines         329      284      -45     
==========================================
- Hits          308      265      -43     
+ Misses         21       19       -2     
Impacted Files Coverage Δ
src/LaplaceApproximationModule.jl 96.89% <ø> (ø)
src/SparseVariationalApproximationModule.jl 90.24% <100.00%> (-0.24%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8ceb309...b7c66f8. Read the comment docs.

@rossviljoen
Copy link
Collaborator

@st-- looks like it's passing now

@st-- st-- merged commit b4f17c3 into master Apr 2, 2022
@st-- st-- deleted the st/bugfixes branch April 2, 2022 11:13
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