From be2192ee90e46fdb0b3acb049d5b7e0a01b46761 Mon Sep 17 00:00:00 2001 From: Niko Date: Wed, 12 Jul 2023 14:34:15 +0200 Subject: [PATCH] Started with PreferenceExpectedImprovement.py --- AcquistionFunctions/PreferenceExpectedImprovement.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/AcquistionFunctions/PreferenceExpectedImprovement.py b/AcquistionFunctions/PreferenceExpectedImprovement.py index 83bbe3c..c47f937 100644 --- a/AcquistionFunctions/PreferenceExpectedImprovement.py +++ b/AcquistionFunctions/PreferenceExpectedImprovement.py @@ -3,7 +3,16 @@ from scipy.stats import norm class PreferenceExpectedImprovement: - def __init__(self): + def __init__(self, nr_samples, upper_bound, lower_bound, nr_dims=2): + + self.nr_samples = nr_samples + self.upper_bound = upper_bound + self.lower_bound = lower_bound + + self.user_model = None + self.proposal_model_mean = np.array() + + def initialize(self): pass def rejection_sampling(self):