Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.

Commit

Permalink
initialize context and num_acquisitions (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
befelix authored and apaleyes committed Mar 19, 2018
1 parent 83cc992 commit e0cbcde
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions GPyOpt/core/bo.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ def __init__(self, model, space, objective, acquisition, evaluator, X_init, Y_in
self.normalization_type = 'stats' ## not added in the API
self.de_duplication = de_duplication
self.model_parameters_iterations = None
self.context = None
self.num_acquisitions = 0

def suggest_next_locations(self, context = None, pending_X = None, ignored_X = None):
"""
Expand Down

0 comments on commit e0cbcde

Please sign in to comment.