...
|
...
|
@@ -284,7 +284,7 @@ class Learner2D(BaseLearner):
|
284
|
284
|
# it could fill up till a length smaller than `stack_till`.
|
285
|
285
|
if not any(p in self._stack for p in self._bounds_points):
|
286
|
286
|
self._fill_stack(stack_till=n_left)
|
287
|
|
- new_points, new_loss_improvements = self._split_stack(n_left)
|
|
287
|
+ new_points, new_loss_improvements = self._split_stack(max(n_left, 10))
|
288
|
288
|
points += new_points
|
289
|
289
|
loss_improvements += new_loss_improvements
|
290
|
290
|
self.add_data(new_points, itertools.repeat(None))
|