emukit.test_functions.quadrature package
Submodules
- emukit.test_functions.quadrature.baselines.univariate_approximate_ground_truth_integral(func, integral_bounds)
Estimate the 1D ground truth integral.
- emukit.test_functions.quadrature.baselines.bivariate_approximate_ground_truth_integral(func, integral_bounds)
Estimate the 2D ground truth integral.
- emukit.test_functions.quadrature.circular_gaussian.circular_gaussian(mean=0.0, variance=1.0)
2D toy integrand that is a Gaussian on a circle.
\[f(x) = (2\pi \sigma^2)^{-\frac{1}{2}} r^2 e^{-\frac{(r - \mu)^2}{2 \sigma^2}}\]where \(\sigma^2\) is the
variance
attribute, \(\mu\) is themean
attribute and \(r = \|x\|\) is the length of the input \(x\).- Parameters:
- Return type:
- Returns:
The wrapped test function, and the integrals bounds (the latter defaults to [-3, 3]^2).
- emukit.test_functions.quadrature.hennig1D.hennig1D()
1D toy integrand coined by Philipp Hennig.
One of the earlier mentions e.g., in this talk (external link).
\[f(x) = e^{-x^2 -\sin^2(3x)}\]
- emukit.test_functions.quadrature.sombrero2D.sombrero2D(freq=1.0)
2D Sombrero function.
\[f(x) = \frac{\operatorname{sin}(\pi r \omega)}{\pi r \omega}\]where \(\omega\) is the
freq
parameter and \(r=\|x\|\) is the length of the input vector \(x\).