Resolve "(Learner1D) add possibility to use the direct neighbors in the loss"
1 unresolved thread
Compare changes
Files
6+ 81
− 21
@@ -15,6 +15,66 @@ from ..notebook_integration import ensure_holoviews
@@ -36,6 +96,7 @@ def uniform_loss(interval, scale, data, neighbors):
@@ -70,13 +131,10 @@ def _loss_of_multi_interval(xs, ys):
@@ -89,6 +147,7 @@ def triangle_loss(interval, scale, data, neighbors):
@@ -123,12 +182,12 @@ def _get_neighbors_from_list(xs):
@@ -145,10 +204,6 @@ class Learner1D(BaseLearner):
@@ -161,7 +216,11 @@ class Learner1D(BaseLearner):
@@ -174,14 +233,15 @@ class Learner1D(BaseLearner):