Skip to content

Commit

Permalink
Fix bug in costfunction for SVGP
Browse files Browse the repository at this point in the history
  • Loading branch information
simsurace authored Feb 8, 2024
1 parent 39c47bf commit 323a629
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AutoGPs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,6 @@ function apply_parameters(f::SVGP, θ)
)
end

costfunction(svgp::SVGP, data) = -elbo(svgp.lgp(data.x), svgp.sva, data.y)
costfunction(svgp::SVGP, data) = -elbo(svgp.sva, svgp.lgp(data.x), data.y)

end # module AutoGPs

0 comments on commit 323a629

Please sign in to comment.