We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81a3824 commit 2733128Copy full SHA for 2733128
adaptive/tests/test_learner1d.py
@@ -89,7 +89,7 @@ def test_loss_interpolation():
89
for i in range(100):
90
# Add a 100 points with either None or 0
91
if random.random() < 0.9:
92
- learner.tell(random.uniform(-1, 1), None)
+ learner.tell_pending(random.uniform(-1, 1))
93
else:
94
learner.tell(random.uniform(-1, 1), 0)
95
@@ -141,7 +141,7 @@ def test_adding_existing_point_passes_silently():
141
l.tell(0, 0)
142
l.tell(1, 0)
143
l.tell(2, 0)
144
- l.tell(1, None)
+ l.tell(1, 100)
145
146
147
def test_loss_at_machine_precision_interval_is_zero():
0 commit comments