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

2D: add to-do commments for the loss method

parent 60389977
No related branches found
No related tags found
1 merge request!7implement 2D learner
......@@ -804,6 +804,7 @@ class Learner2D(BaseLearner):
self._stack = self._stack[n_left:]
n_left -= len(from_stack)
# XXX: change this when we have a better `loss` method
loss_improvements = [1] * n
return points, loss_improvements
......@@ -815,6 +816,7 @@ class Learner2D(BaseLearner):
return self._choose_and_add_points(n)
def loss(self):
# XXX: we need a smarter way of determining the loss
return self.n_real
def remove_unfinished(self):
......
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