Resolve "(Learner1D) add possibility to use the direct neighbors in the loss"
Compare changes
+ 10
− 10
@@ -15,7 +15,7 @@ from ..notebook_integration import ensure_holoviews
@@ -36,7 +36,7 @@ def uniform_loss(interval, scale, function_values, neighbors):
@@ -44,7 +44,7 @@ def default_loss(interval, scale, function_values, neighbors):
@@ -70,7 +70,7 @@ def _loss_of_multi_interval(xs, ys):
@@ -82,15 +82,15 @@ def triangle_loss(interval, scale, function_values, neighbors):
@@ -153,14 +153,14 @@ class Learner1D(BaseLearner):