Started with PreferenceExpectedImprovement.py

This commit is contained in:
Niko Feith 2023-07-12 14:34:15 +02:00
parent c8d4022cd4
commit be2192ee90

View File

@ -3,7 +3,16 @@ from scipy.stats import norm
class PreferenceExpectedImprovement: 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 pass
def rejection_sampling(self): def rejection_sampling(self):