Fix docstring quotes

This commit is contained in:
Matthias 2022-04-23 09:44:04 +02:00
parent 7328553c0b
commit 5a90d5ece6

View File

@ -410,7 +410,7 @@ class Hyperopt:
dump(preprocessed, self.data_pickle_file) dump(preprocessed, self.data_pickle_file)
def get_asked_points(self, n_points: int) -> Tuple[List[List[Any]], List[bool]]: def get_asked_points(self, n_points: int) -> Tuple[List[List[Any]], List[bool]]:
''' """
Enforce points returned from `self.opt.ask` have not been already evaluated Enforce points returned from `self.opt.ask` have not been already evaluated
Steps: Steps:
@ -420,7 +420,7 @@ class Hyperopt:
4. If still some points are missing in respect to `n_points`, random sample some points 4. If still some points are missing in respect to `n_points`, random sample some points
5. Repeat until at least `n_points` points in the `asked_non_tried` list 5. Repeat until at least `n_points` points in the `asked_non_tried` list
6. Return a list with length truncated at `n_points` 6. Return a list with length truncated at `n_points`
''' """
def unique_list(a_list): def unique_list(a_list):
new_list = [] new_list = []
for item in a_list: for item in a_list: