Resolve "(Learner1D) add possibility to use the direct neighbors in the loss"
Compare changes
+ 7
− 3
@@ -142,6 +142,10 @@ class Learner1D(BaseLearner):
@@ -152,9 +156,9 @@ class Learner1D(BaseLearner):
Closes #119 (closed)
Currently works for one R^1 \to R^1
Still have to make it work for R^1 \to R^N
Also performance is actually quite good. As in: the learner slows down about 1.5 times. Going (on my laptop) from 3 seconds per 1000 points to 4.5 seconds per 1000 points.
Which, I believe, will be more than compensated by the fact that the chosen points are generally better