(Learner1D) add possibility to use the direct neighbors in the loss
This allows cool things like taking the second derivative into account.
I have created a demo notebook and some plots as to what it may look like:
The method is described in these pages: second_derivative.pdf
And you can find the notebook to play with here: adaptive_vs_homogenous.ipynb
Edited by Jorn Hoofwijk