diff --git a/404.html b/404.html index deead5b3b..9a206b3cb 100644 --- a/404.html +++ b/404.html @@ -1421,6 +1421,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/CODE_OF_CONDUCT/index.html b/CODE_OF_CONDUCT/index.html index b8418be35..223b8adf5 100644 --- a/CODE_OF_CONDUCT/index.html +++ b/CODE_OF_CONDUCT/index.html @@ -1435,6 +1435,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/GOVERNANCE/index.html b/GOVERNANCE/index.html index 920cf1431..6c254a4b3 100644 --- a/GOVERNANCE/index.html +++ b/GOVERNANCE/index.html @@ -1535,6 +1535,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/SUMMARY/index.html b/api/SUMMARY/index.html index 879500ab6..37f456643 100644 --- a/api/SUMMARY/index.html +++ b/api/SUMMARY/index.html @@ -1423,6 +1423,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • @@ -2506,6 +2526,7 @@

    SUMMARY

  • Utility Functions
  • diff --git a/api/base/module/index.html b/api/base/module/index.html index b2469aed1..693da6a5d 100644 --- a/api/base/module/index.html +++ b/api/base/module/index.html @@ -1479,6 +1479,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/base/param/index.html b/api/base/param/index.html index c4251bbd0..63fda7312 100644 --- a/api/base/param/index.html +++ b/api/base/param/index.html @@ -1479,6 +1479,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/citation/index.html b/api/citation/index.html index 9022f6039..ed6f67974 100644 --- a/api/citation/index.html +++ b/api/citation/index.html @@ -1479,6 +1479,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/dataset/index.html b/api/dataset/index.html index 1fc1f232c..13371f9fb 100644 --- a/api/dataset/index.html +++ b/api/dataset/index.html @@ -1479,6 +1479,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/decision_making/decision_maker/index.html b/api/decision_making/decision_maker/index.html index 246de6a72..57e9ce230 100644 --- a/api/decision_making/decision_maker/index.html +++ b/api/decision_making/decision_maker/index.html @@ -1479,6 +1479,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/decision_making/posterior_handler/index.html b/api/decision_making/posterior_handler/index.html index 60db8c97b..c874c5991 100644 --- a/api/decision_making/posterior_handler/index.html +++ b/api/decision_making/posterior_handler/index.html @@ -1479,6 +1479,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/decision_making/search_space/index.html b/api/decision_making/search_space/index.html index a4b3961d6..af6be7270 100644 --- a/api/decision_making/search_space/index.html +++ b/api/decision_making/search_space/index.html @@ -1479,6 +1479,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/decision_making/test_functions/continuous_functions/index.html b/api/decision_making/test_functions/continuous_functions/index.html index 0e2f27808..86a3682e4 100644 --- a/api/decision_making/test_functions/continuous_functions/index.html +++ b/api/decision_making/test_functions/continuous_functions/index.html @@ -1479,6 +1479,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/decision_making/test_functions/non_conjugate_functions/index.html b/api/decision_making/test_functions/non_conjugate_functions/index.html index 1db8c96a3..6d2023d9d 100644 --- a/api/decision_making/test_functions/non_conjugate_functions/index.html +++ b/api/decision_making/test_functions/non_conjugate_functions/index.html @@ -1479,6 +1479,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/decision_making/utility_functions/base/index.html b/api/decision_making/utility_functions/base/index.html index 21f1fa6c5..949ec1e32 100644 --- a/api/decision_making/utility_functions/base/index.html +++ b/api/decision_making/utility_functions/base/index.html @@ -16,7 +16,7 @@ - + @@ -1479,6 +1479,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/decision_making/utility_functions/probability_of_improvement/index.html b/api/decision_making/utility_functions/probability_of_improvement/index.html new file mode 100644 index 000000000..6b10a72bf --- /dev/null +++ b/api/decision_making/utility_functions/probability_of_improvement/index.html @@ -0,0 +1,2956 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + Probability Of Improvement - GPJax + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + Skip to content + + +
    +
    + +
    + + + + + + +
    + + +
    + +
    + + + + + + +
    +
    + + + +
    +
    +
    + + + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    + + + + +

    Probability Of Improvement

    + + +
    + + + +

    + gpjax.decision_making.utility_functions.probability_of_improvement + + +

    + +
    + + + +
    + + + + + + + + +
    + + + +
    + ProbabilityOfImprovement + + + + dataclass + + +
    + + +
    +

    + Bases: AbstractSinglePointUtilityFunctionBuilder

    + + + + + +

    An acquisition function which returns the probability of improvement +of the objective function over the best observed value.

    +

    More precisely, given a predictive posterior distribution of the objective +function ff, the probability of improvement at a test point xx is defined as: +$PI(x)=Prob[f(x)<f(xbest)]\text{PI}(x) = \text{Prob}[f(x) < f(x_{\text{best}})]$ +where xbestx_{\text{best}} is the minimiser of the posterior mean +at previously observed values (to handle noisy observations).

    +

    The probability of improvement can be easily computed using the +cumulative distribution function of the standard normal distribution Ξ¦\Phi: +$PI(x)=Ξ¦(f(xbest)βˆ’ΞΌΟƒ)\text{PI}(x) = \Phi\left(\frac{f(x_{\text{best}}) - \mu}{\sigma}\right)$ +where ΞΌ\mu and Οƒ\sigma are the mean and standard deviation of the +predictive distribution of the objective function at xx.

    +
    References
    +

    [1] Kushner, H. J. (1964). +A new method of locating the maximum point of an arbitrary multipeak curve in the presence of noise. +Journal of Basic Engineering, 86(1), 97-106.

    +

    [2] Shahriari, B., Swersky, K., Wang, Z., Adams, R. P., & de Freitas, N. (2016). +Taking the human out of the loop: A review of Bayesian optimization. +Proceedings of the IEEE, 104(1), 148-175. doi: 10.1109/JPROC.2015.2494218

    + + + + +
    + + + + + + + + + + +
    + + + +
    + check_objective_present(posteriors: Mapping[str, AbstractPosterior], datasets: Mapping[str, Dataset]) -> None + +
    + + +
    + +

    Check that the objective posterior and dataset are present in the posteriors and +datasets.

    + + + +

    Parameters:

    + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescriptionDefault
    posteriors + Mapping[str, AbstractPosterior] + +
    +

    Dictionary of posteriors to be

    +
    +
    + required +
    datasets + Mapping[str, Dataset] + +
    +

    Dictionary of datasets which may be used

    +
    +
    + required +
    + + + +

    Raises:

    + + + + + + + + + + + + + +
    TypeDescription
    + ValueError + +
    +

    If the objective posterior or dataset are not present in the

    +
    +
    + +
    + +
    + + +
    + + + +
    + __init__() -> None + +
    + + +
    + +
    + +
    + + +
    + + + +
    + build_utility_function(posteriors: Mapping[str, ConjugatePosterior], datasets: Mapping[str, Dataset], key: KeyArray) -> SinglePointUtilityFunction + +
    + + +
    + +

    Constructs the probability of improvement utility function +using the predictive posterior of the objective function.

    + + + +

    Parameters:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescriptionDefault
    posteriors + Mapping[str, AbstractPosterior] + +
    +

    Dictionary of posteriors to be

    +
    +
    + required +
    datasets + Mapping[str, Dataset] + +
    +

    Dictionary of datasets which may be used

    +
    +
    + required +
    key + KeyArray + +
    +

    JAX PRNG key used for random number generation. Since

    +
    +
    + required +
    + + + +

    Returns:

    + + + + + + + + + + + + + +
    Name TypeDescription
    SinglePointUtilityFunction + SinglePointUtilityFunction + +
    +

    the probability of improvement utility function.

    +
    +
    + +
    + +
    + + + +
    + +
    + + +
    + + + + +
    + +
    + +
    + + + + + + + + +
    +
    + + +
    + + + +
    + + + +
    +
    +
    +
    + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/api/decision_making/utility_functions/thompson_sampling/index.html b/api/decision_making/utility_functions/thompson_sampling/index.html index a1a329da6..49b605b91 100644 --- a/api/decision_making/utility_functions/thompson_sampling/index.html +++ b/api/decision_making/utility_functions/thompson_sampling/index.html @@ -13,7 +13,7 @@ - + @@ -1431,6 +1431,26 @@ + +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + diff --git a/api/decision_making/utility_maximizer/index.html b/api/decision_making/utility_maximizer/index.html index 30f85d895..067cc9a5e 100644 --- a/api/decision_making/utility_maximizer/index.html +++ b/api/decision_making/utility_maximizer/index.html @@ -1432,6 +1432,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/decision_making/utils/index.html b/api/decision_making/utils/index.html index 482cb4ce1..66d451557 100644 --- a/api/decision_making/utils/index.html +++ b/api/decision_making/utils/index.html @@ -1432,6 +1432,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/distributions/index.html b/api/distributions/index.html index 521c159b4..d4b5e4f24 100644 --- a/api/distributions/index.html +++ b/api/distributions/index.html @@ -1432,6 +1432,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/fit/index.html b/api/fit/index.html index 51209df29..5a60aa69d 100644 --- a/api/fit/index.html +++ b/api/fit/index.html @@ -1432,6 +1432,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/gps/index.html b/api/gps/index.html index fdb41d8ea..8d1eeb352 100644 --- a/api/gps/index.html +++ b/api/gps/index.html @@ -1432,6 +1432,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/integrators/index.html b/api/integrators/index.html index 93ecd6ca2..fe6a290c4 100644 --- a/api/integrators/index.html +++ b/api/integrators/index.html @@ -1432,6 +1432,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/kernels/approximations/rff/index.html b/api/kernels/approximations/rff/index.html index 249aeb8d5..9d110b0ef 100644 --- a/api/kernels/approximations/rff/index.html +++ b/api/kernels/approximations/rff/index.html @@ -1432,6 +1432,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/kernels/base/index.html b/api/kernels/base/index.html index ac00481c7..88f79249a 100644 --- a/api/kernels/base/index.html +++ b/api/kernels/base/index.html @@ -1432,6 +1432,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/kernels/computations/base/index.html b/api/kernels/computations/base/index.html index 4f53d2b0f..5f4a8cc7b 100644 --- a/api/kernels/computations/base/index.html +++ b/api/kernels/computations/base/index.html @@ -1432,6 +1432,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/kernels/computations/basis_functions/index.html b/api/kernels/computations/basis_functions/index.html index 4001cf2a1..67b55b979 100644 --- a/api/kernels/computations/basis_functions/index.html +++ b/api/kernels/computations/basis_functions/index.html @@ -1432,6 +1432,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/kernels/computations/constant_diagonal/index.html b/api/kernels/computations/constant_diagonal/index.html index e01f6bd5a..23090fd12 100644 --- a/api/kernels/computations/constant_diagonal/index.html +++ b/api/kernels/computations/constant_diagonal/index.html @@ -1432,6 +1432,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/kernels/computations/dense/index.html b/api/kernels/computations/dense/index.html index ae2fc9b89..81380e65c 100644 --- a/api/kernels/computations/dense/index.html +++ b/api/kernels/computations/dense/index.html @@ -1432,6 +1432,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/kernels/computations/diagonal/index.html b/api/kernels/computations/diagonal/index.html index 4b58ddab1..6264d398b 100644 --- a/api/kernels/computations/diagonal/index.html +++ b/api/kernels/computations/diagonal/index.html @@ -1432,6 +1432,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/kernels/computations/eigen/index.html b/api/kernels/computations/eigen/index.html index d825f4cb9..9a359bf3c 100644 --- a/api/kernels/computations/eigen/index.html +++ b/api/kernels/computations/eigen/index.html @@ -1432,6 +1432,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/kernels/non_euclidean/graph/index.html b/api/kernels/non_euclidean/graph/index.html index 9b9541a61..01f9e2afa 100644 --- a/api/kernels/non_euclidean/graph/index.html +++ b/api/kernels/non_euclidean/graph/index.html @@ -1432,6 +1432,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/kernels/non_euclidean/utils/index.html b/api/kernels/non_euclidean/utils/index.html index 85981e582..4a2afa698 100644 --- a/api/kernels/non_euclidean/utils/index.html +++ b/api/kernels/non_euclidean/utils/index.html @@ -1432,6 +1432,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/kernels/nonstationary/arccosine/index.html b/api/kernels/nonstationary/arccosine/index.html index 9326780f2..f80c11163 100644 --- a/api/kernels/nonstationary/arccosine/index.html +++ b/api/kernels/nonstationary/arccosine/index.html @@ -1432,6 +1432,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/kernels/nonstationary/linear/index.html b/api/kernels/nonstationary/linear/index.html index c3ce4b7df..8140828be 100644 --- a/api/kernels/nonstationary/linear/index.html +++ b/api/kernels/nonstationary/linear/index.html @@ -1432,6 +1432,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/kernels/nonstationary/polynomial/index.html b/api/kernels/nonstationary/polynomial/index.html index f23b760c9..641c1752e 100644 --- a/api/kernels/nonstationary/polynomial/index.html +++ b/api/kernels/nonstationary/polynomial/index.html @@ -1432,6 +1432,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/kernels/stationary/matern12/index.html b/api/kernels/stationary/matern12/index.html index 9ffa64023..417d727d3 100644 --- a/api/kernels/stationary/matern12/index.html +++ b/api/kernels/stationary/matern12/index.html @@ -1432,6 +1432,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/kernels/stationary/matern32/index.html b/api/kernels/stationary/matern32/index.html index 2638dea55..5d5ccae8a 100644 --- a/api/kernels/stationary/matern32/index.html +++ b/api/kernels/stationary/matern32/index.html @@ -1432,6 +1432,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/kernels/stationary/matern52/index.html b/api/kernels/stationary/matern52/index.html index c40ebe3b7..011f5d7fa 100644 --- a/api/kernels/stationary/matern52/index.html +++ b/api/kernels/stationary/matern52/index.html @@ -1432,6 +1432,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/kernels/stationary/periodic/index.html b/api/kernels/stationary/periodic/index.html index 337a7723e..8331a33b7 100644 --- a/api/kernels/stationary/periodic/index.html +++ b/api/kernels/stationary/periodic/index.html @@ -1432,6 +1432,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/kernels/stationary/powered_exponential/index.html b/api/kernels/stationary/powered_exponential/index.html index 13e3e413f..305afe943 100644 --- a/api/kernels/stationary/powered_exponential/index.html +++ b/api/kernels/stationary/powered_exponential/index.html @@ -1432,6 +1432,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/kernels/stationary/rational_quadratic/index.html b/api/kernels/stationary/rational_quadratic/index.html index 7f10f5d4e..0bb9eaf25 100644 --- a/api/kernels/stationary/rational_quadratic/index.html +++ b/api/kernels/stationary/rational_quadratic/index.html @@ -1432,6 +1432,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/kernels/stationary/rbf/index.html b/api/kernels/stationary/rbf/index.html index 8d4248498..0e0757a56 100644 --- a/api/kernels/stationary/rbf/index.html +++ b/api/kernels/stationary/rbf/index.html @@ -1432,6 +1432,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/kernels/stationary/utils/index.html b/api/kernels/stationary/utils/index.html index 4c6ba610c..a389c9190 100644 --- a/api/kernels/stationary/utils/index.html +++ b/api/kernels/stationary/utils/index.html @@ -1432,6 +1432,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/kernels/stationary/white/index.html b/api/kernels/stationary/white/index.html index cfff29653..64a08c990 100644 --- a/api/kernels/stationary/white/index.html +++ b/api/kernels/stationary/white/index.html @@ -1432,6 +1432,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/likelihoods/index.html b/api/likelihoods/index.html index 2837117b1..77b431bdb 100644 --- a/api/likelihoods/index.html +++ b/api/likelihoods/index.html @@ -1432,6 +1432,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/lower_cholesky/index.html b/api/lower_cholesky/index.html index 62ecba929..d7b53462f 100644 --- a/api/lower_cholesky/index.html +++ b/api/lower_cholesky/index.html @@ -1432,6 +1432,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/mean_functions/index.html b/api/mean_functions/index.html index ddae711f2..9d3b74044 100644 --- a/api/mean_functions/index.html +++ b/api/mean_functions/index.html @@ -1432,6 +1432,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/objectives/index.html b/api/objectives/index.html index 04b63ee2e..0acaa6371 100644 --- a/api/objectives/index.html +++ b/api/objectives/index.html @@ -1432,6 +1432,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/progress_bar/index.html b/api/progress_bar/index.html index 5b7032083..c5781ce0b 100644 --- a/api/progress_bar/index.html +++ b/api/progress_bar/index.html @@ -1432,6 +1432,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/scan/index.html b/api/scan/index.html index 96ba4e0f8..6f672c16e 100644 --- a/api/scan/index.html +++ b/api/scan/index.html @@ -1432,6 +1432,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/typing/index.html b/api/typing/index.html index ee00e7318..c23cfc200 100644 --- a/api/typing/index.html +++ b/api/typing/index.html @@ -1432,6 +1432,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/api/variational_families/index.html b/api/variational_families/index.html index b653a5eac..d6c767b56 100644 --- a/api/variational_families/index.html +++ b/api/variational_families/index.html @@ -1430,6 +1430,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/contributing/index.html b/contributing/index.html index 570448b9e..388df67a8 100644 --- a/contributing/index.html +++ b/contributing/index.html @@ -1520,6 +1520,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/design/index.html b/design/index.html index 29cdab7a2..cef718019 100644 --- a/design/index.html +++ b/design/index.html @@ -1493,6 +1493,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • diff --git a/examples/barycentres/index.html b/examples/barycentres/index.html index 1edf68336..3d30fe526 100644 --- a/examples/barycentres/index.html +++ b/examples/barycentres/index.html @@ -1548,6 +1548,26 @@ +
  • + + + + + Probability Of Improvement + + + + +
  • + + + + + + + + +
  • @@ -3130,7 +3150,7 @@