Skip to content
Snippets Groups Projects
Commit 8412a04c authored by Bas Nijholt's avatar Bas Nijholt
Browse files

add comment that we need to return the loss_improvements in AverageLearner

parent 569168f5
No related branches found
No related tags found
1 merge request!7implement 2D learner
......@@ -131,6 +131,8 @@ class AverageLearner(BaseLearner):
def choose_points(self, n, add_data=True):
points = list(range(self.n_requested, self.n_requested + n))
# XXX: We should return the actual loss improvements
loss_improvements = [None] * n
if add_data:
self.add_data(points, itertools.repeat(None))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment