Resolve "(Learner1D) add possibility to use the direct neighbors in the loss"
1 unresolved thread
Compare changes
Files
3+ 94
− 25
@@ -3,16 +3,19 @@ from copy import deepcopy
@@ -33,7 +36,7 @@ def uniform_loss(interval, scale, function_values):
@@ -56,6 +59,45 @@ def default_loss(interval, scale, function_values):
@@ -79,6 +121,13 @@ def _get_neighbors_from_list(xs):
@@ -114,11 +163,18 @@ class Learner1D(BaseLearner):
@@ -176,25 +232,36 @@ class Learner1D(BaseLearner):
@@ -207,10 +274,12 @@ class Learner1D(BaseLearner):
@@ -358,7 +427,7 @@ class Learner1D(BaseLearner):