Skip to content

Commit a9cbbf9

Browse files
committed
rename 'choose_and_add_points' to 'ask_and_tell'
1 parent 6a19e99 commit a9cbbf9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

adaptive/learner/balancing_learner.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def __init__(self, learners):
4848
raise TypeError('A BalacingLearner can handle only one type'
4949
'of learners.')
5050

51-
def _choose_and_tells(self, n):
51+
def _ask_and_tell(self, n):
5252
points = []
5353
for _ in range(n):
5454
loss_improvements = []
@@ -70,9 +70,9 @@ def ask(self, n, add_data=True):
7070
"""Chose points for learners."""
7171
if not add_data:
7272
with restore(*self.learners):
73-
return self._choose_and_tells(n)
73+
return self._ask_and_tell(n)
7474
else:
75-
return self._choose_and_tells(n)
75+
return self._ask_and_tell(n)
7676

7777
def _tell(self, x, y):
7878
index, x = x

0 commit comments

Comments
 (0)