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

Allow non-constant likelihoods #105

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Conversation

simsurace
Copy link
Member

This PR generalizes all expected_loglikelihood methods to also accept AbstractVectors, such that it can be used for input-dependent (e.g. heteroskedastic) likelihoods. See e.g. JuliaGaussianProcesses/AbstractGPs.jl#216

@simsurace simsurace added the enhancement New feature or request label Mar 10, 2024
src/likelihoods/gamma.jl Outdated Show resolved Hide resolved
test/expectations.jl Outdated Show resolved Hide resolved
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Copy link

codecov bot commented Mar 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.85%. Comparing base (7e7ef5e) to head (27fda65).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #105      +/-   ##
==========================================
+ Coverage   96.45%   96.85%   +0.40%     
==========================================
  Files          11       11              
  Lines         141      159      +18     
==========================================
+ Hits          136      154      +18     
  Misses          5        5              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@simsurace simsurace requested a review from theogf March 11, 2024 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant