Skip to content

Commit 30fdcd5

Browse files
committed
fix: math fixed
1 parent 1cc2f1d commit 30fdcd5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/content/examples/bayesian_optimization.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@
100100
"source": [
101101
"## Optimizing using *expected improvement*\n",
102102
"During the optimization, the utility of each point is given by the so-called *acquisition function*. In this case, we are going to use the *expected improvement*, which is defined by\n",
103-
"<p align=\"center\">$$ EI(x) = (\\mu(x) - f(x^+)) \\psi\\Big( \\frac{\\mu(x) - f(x^+)}{\\sigma(x)} \\Big) + \\sigma(x) \\phi\\Big( \\frac{\\mu(x) - f(x^+)}{\\sigma(x)} \\Big), $$ </p>\n",
104-
"where $ \\mu(x) $ and $ \\sigma(x) $ are the mean and variance of the Gaussian process regressor at $ x $, $ f $ is the function to be optimized with estimated maximum at $ x^+ $, and $ \\psi(z) $, $ \\phi(z) $ denotes the cumulative distribution function and density function of a standard Gaussian distribution. After each query, the acquisition function is reevaluated and the new query is chosen to maximize the acquisition function. "
103+
"$$EI(x) = (\\mu(x) - f(x^+)) \\psi\\Big( \\frac{\\mu(x) - f(x^+)}{\\sigma(x)} \\Big) + \\sigma(x) \\phi\\Big( \\frac{\\mu(x) - f(x^+)}{\\sigma(x)} \\Big),$$\n",
104+
"where $\\mu(x)$ and $\\sigma(x)$ are the mean and variance of the Gaussian process regressor at $x$, $f$ is the function to be optimized with estimated maximum at $x^+$, and $\\psi(z)$, $\\phi(z)$ denotes the cumulative distribution function and density function of a standard Gaussian distribution. After each query, the acquisition function is reevaluated and the new query is chosen to maximize the acquisition function. "
105105
]
106106
},
107107
{

0 commit comments

Comments
 (0)