From 0c5a05b6c8a6409362430fcdf1e5e2ce3c558f8a Mon Sep 17 00:00:00 2001 From: "nikolaus.feith" Date: Wed, 15 Feb 2023 09:33:41 +0100 Subject: [PATCH] added more Acquisition functions --- BayesianOptimization/BOwithGym.py | 2 -- runner/BOGymRunner.py | 0 2 files changed, 2 deletions(-) create mode 100644 runner/BOGymRunner.py diff --git a/BayesianOptimization/BOwithGym.py b/BayesianOptimization/BOwithGym.py index 1aa85ad..043ea43 100644 --- a/BayesianOptimization/BOwithGym.py +++ b/BayesianOptimization/BOwithGym.py @@ -9,7 +9,6 @@ from AcquistionFunctions.ConfidenceBound import ConfidenceBound from ToyTask.MountainCarGym import Continuous_MountainCarEnv -import gym import time import matplotlib.pyplot as plt @@ -59,7 +58,6 @@ class BayesianOptimization: self.Y[i] = reward - self.gp = GaussianProcessRegressor(Matern(nu=1.5)) self.gp.fit(self.X, self.Y) diff --git a/runner/BOGymRunner.py b/runner/BOGymRunner.py new file mode 100644 index 0000000..e69de29