Resolve "(Learner1D) add possibility to use the direct neighbors in the loss"
1 unresolved thread
Compare changes
Files
5+ 29
− 18
@@ -15,6 +15,14 @@ from ..notebook_integration import ensure_holoviews
@@ -36,6 +44,7 @@ def uniform_loss(interval, scale, data, neighbors):
@@ -70,13 +79,11 @@ def _loss_of_multi_interval(xs, ys):
@@ -88,6 +95,7 @@ def triangle_loss(interval, scale, data, neighbors):
@@ -122,12 +130,12 @@ def _get_neighbors_from_list(xs):
@@ -144,10 +152,12 @@ class Learner1D(BaseLearner):
@@ -173,14 +183,15 @@ class Learner1D(BaseLearner):