MCPcopy
hub / github.com/GPflow/GPflow / test_mean_values

Function test_mean_values

tests/gpflow/kernels/test_coregion.py:162–173  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

160
161
162def test_mean_values() -> None:
163 vgp0, vgp1, cvgp = _prepare_models()
164 assert_allclose(
165 vgp0.mean_function.c.numpy(),
166 cvgp.mean_function.meanfunctions[0].c.numpy(),
167 atol=1.0e-4,
168 )
169 assert_allclose(
170 vgp1.mean_function.c.numpy(),
171 cvgp.mean_function.meanfunctions[1].c.numpy(),
172 atol=1.0e-4,
173 )
174
175
176def test_predict_f() -> None:

Callers

nothing calls this directly

Calls 1

_prepare_modelsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…