A Python-based toolbox of various methods in decision making, uncertainty quantification and statistical emulation: multi-fidelity, experimental design, Bayesian optimisation, Bayesian quadrature, etc.
There are several product quadrature kernels in the library which follow a similar structure. Hence code was dublicated. This PR introduces a QuadratureProductKernel base class which gets rid of the duplicted code. No functional changes. It might be possible to do all this prettier, but it's better than before.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Issue #, if available:
Description of changes:
There are several product quadrature kernels in the library which follow a similar structure. Hence code was dublicated. This PR introduces a
QuadratureProductKernel
base class which gets rid of the duplicted code. No functional changes. It might be possible to do all this prettier, but it's better than before.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.