Started with PreferenceExpectedImprovement.py
This commit is contained in:
parent
c8d4022cd4
commit
be2192ee90
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user