https://github.com/GPflow/GPflow
Revision b4e6298c295c6ca90f04ecd69cceeccf450b59ea authored by st-- on 27 April 2021, 16:17:09 UTC, committed by GitHub on 27 April 2021, 16:17:09 UTC
GPflow had already been optimised for speed in the training loop. This PR addresses the speed of predictions and resolves (partially) #1599. We achieve this by introducing new Posterior objects that can cache the results of a "precompute" stage (everything that's independent of test points) and thereby significantly speeds up repeated predictions.

Co-authored-by: ST John <st--@users.noreply.github.com>
Co-authored-by: stefanos <stefanosele@users.no-reply.github.com>
Co-authored-by: John Mcleod <43960404+johnamcleod@users.noreply.github.com>
1 parent a8ee4ae
Raw File
Tip revision: b4e6298c295c6ca90f04ecd69cceeccf450b59ea authored by st-- on 27 April 2021, 16:17:09 UTC
Posterior object for fast predictions (#1636)
Tip revision: b4e6298
mypy.ini
[mypy]
ignore_missing_imports = True

; the following modules are not passing mypy, so we're skipping them until they've been fixed up.
; see github issue https://github.com/GPflow/GPflow/issues/1368 for more information. Note that some
; modules that haven't had types added are passing anyway so may not appear below.
;
; remove modules from this skip list when types have been added
[mypy-gpflow.conditionals.*,gpflow.config.*,gpflow.covariances.*,gpflow.expectations.*]
ignore_errors = True

[mypy-gpflow.kernels.*,gpflow.models.*,gpflow.monitor.*,gpflow.optimizers.natgrad,gpflow.optimizers.mcmc,gpflow.utilities.*]
ignore_errors = True

[mypy-gpflow.mean_functions]
ignore_errors = True

[mypy-tests.*]
ignore_errors = True
back to top