Skip to content

Commit 0e8b75e

Browse files
committed
docstr
1 parent 6b4f4b1 commit 0e8b75e

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

src/TestUtils.jl

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,16 @@ Test whether the prediction interface for `approx` works and whether in the
4242
conjugate case `posterior(approx, LatentGP(f, GaussianLikelihood(), jitter)(x), y)`
4343
gives approximately the same answer as exact GP regression.
4444
45-
Should be satisfied by all approximate inference methods, but note that this
46-
does not currently apply for some approximations which rely on optimization
47-
such as `SparseVariationalApproximation`.
45+
!!! note
46+
Should be satisfied by all approximate inference methods, but note that
47+
this does not currently apply for some approximations which rely on
48+
optimization such as `SparseVariationalApproximation`.
4849
49-
Does not test `approx_lml`!
50+
!!! note
51+
Does not test `approx_lml`!
5052
51-
Do not rely on this as the only test of a new approximation!
53+
!!! warning
54+
Do not rely on this as the only test of a new approximation!
5255
"""
5356
function test_approximation_predictions(approx)
5457
rng = MersenneTwister(123456)

0 commit comments

Comments
 (0)