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

Method predict

tests/test_acquisition.py:321–325  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

319 self.gains = np.zeros(n)
320
321 def predict(self, x):
322 rng = np.random.default_rng()
323 res = rng.random(x.shape[0], np.float64)
324 self.gains += res
325 return res
326
327 mock_gp = MockGP1(len(base_acquisitions))
328 for _ in range(10):

Callers 1

duplicate_point.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected