https://github.com/GPflow/GPflow
Revision d9951946d64542268b85610593495e187343d42e authored by gustavocmv on 30 July 2020, 11:58:40 UTC, committed by GitHub on 30 July 2020, 11:58:40 UTC
* WIP: quadrature refactoring

* Removing old ndiagquad code

* deleted test code

* formatting and type-hint

* merge modules

* black formatting

* formatting

* solving failing tests

* fixing failing tests

* fixes

* adapting tests for new syntax, keeping numerical behavior

* black formatting

* remove printf

* changed code for compiled tf compatibility

* black

* restored to original version

* undoing changes

* renaming

* renaming

* renaming

* reshape kwargs

* quadrature along axis=-2, simplified broadcasting

* black

* docs

* docs

* helper function

* docstrings and typing

* added new and old quadrature equivalence tests

* black

* Removing comments

Co-authored-by: Vincent Dutordoir <dutordoirv@gmail.com>

* Typo

Co-authored-by: Vincent Dutordoir <dutordoirv@gmail.com>

* notation

Co-authored-by: Vincent Dutordoir <dutordoirv@gmail.com>

* reshape_Z_dZ return docstring fix

* FIX: quad_old computed with the ndiagquad_old

Co-authored-by: Vincent Dutordoir <dutordoirv@gmail.com>

* more readable implementation

Co-authored-by: Vincent Dutordoir <dutordoirv@gmail.com>

* tf.ensure_shape added

* removed ndiagquad

* removed ndiagquad

* Revert "removed ndiagquad"

This reverts commit 7bb0e9f1e0f2b0e225a2b8a5b3092c4c2f24ba91.

* FIX: shape checking of dZ

* Revert "removed ndiagquad"

This reverts commit 8e235241a697696e361158c30ff9aa9b4cc69f8a.

Co-authored-by: Gustavo Carvalho <gustavo.carvalho@delfosim.com>
Co-authored-by: ST John <st@prowler.io>
Co-authored-by: Vincent Dutordoir <dutordoirv@gmail.com>
1 parent 65aea21
Raw File
Tip revision: d9951946d64542268b85610593495e187343d42e authored by gustavocmv on 30 July 2020, 11:58:40 UTC
Quadrature Refactoring (#1505)
Tip revision: d995194
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