Resolve "(Learner1D) add possibility to use the direct neighbors in the loss"
Compare changes
Files
8+ 192
− 53
@@ -3,16 +3,71 @@ from copy import deepcopy
@@ -27,33 +82,58 @@ def uniform_loss(interval, scale, function_values):
@@ -79,6 +159,15 @@ def _get_neighbors_from_list(xs):
@@ -103,21 +192,34 @@ class Learner1D(BaseLearner):
@@ -176,25 +278,60 @@ class Learner1D(BaseLearner):
@@ -207,10 +344,11 @@ class Learner1D(BaseLearner):
@@ -284,6 +422,9 @@ class Learner1D(BaseLearner):
@@ -356,10 +497,8 @@ class Learner1D(BaseLearner):