MCPcopy Create free account
hub / github.com/bayesian-optimization/BayesianOptimization / f

Function f

examples/duplicate_point.py:6–7  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

4
5
6def f(x):
7 return np.exp(-(x - 2) ** 2) + np.exp(-(x - 6) ** 2 / 10) + 1/ (x ** 2 + 1)
8
9
10if __name__ == '__main__':

Callers 1

duplicate_point.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected