I assume that Stheno.marginals != AbstractGPs.marginals and that it works if you replace using Stheno: posterior, logpdf, marginals with using AbstractGPs. I opened a potential fix in Stheno: Import `marginals` by devmotion · Pull Request #173 · JuliaGaussianProcesses/Stheno.jl · GitHub
2 Likes