JuliaGaussianProcesses / GPLikelihoods.jl

Provides likelihood functions for Gaussian Processes.
https://juliagaussianprocesses.github.io/GPLikelihoods.jl/
MIT License
43 stars 5 forks source link

unify definitions of likelihood called on vector #76

Open st-- opened 2 years ago

st-- commented 2 years ago

Can't we have a unique

(l::AbstractLikelihood)(fs::AbstractVector{<:Real}) = Product(map(l, fs))

I think we need 1.6 for this feature but we are already bounding to this version so that seems like a valid thing.

Originally posted by @theogf in https://github.com/JuliaGaussianProcesses/GPLikelihoods.jl/pull/72#pullrequestreview-921972437