Skip to content

Commit dc4e8ef

Browse files
authored
fix docs for TargetSpace.random_sample (#501)
1 parent 16c00f3 commit dc4e8ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bayes_opt/target_space.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ def random_sample(self):
410410
>>> pbounds = {"p1": (0, 1), "p2": (1, 100)}
411411
>>> space = TargetSpace(target_func, pbounds, random_state=0)
412412
>>> space.random_sample()
413-
array([[ 55.33253689, 0.54488318]])
413+
array([[ 0.54488318, 55.33253689]])
414414
"""
415415
data = np.empty((1, self.dim))
416416
for col, (lower, upper) in enumerate(self._bounds):

0 commit comments

Comments
 (0)