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