Resolve "(Learner1D) add possibility to use the direct neighbors in the loss"
- Nov 22, 2018
-
-
-
-
-
Bas Nijholt authored
This abstracts the attribute 'nn_neighbors' away and makes it easier for the user, because one can now just set the 'loss_per_interval' and the 'nn_neighbors' will be set be default.
-
Bas Nijholt authored
-
Bas Nijholt authored
Because data is now in the 'BaseLearner'
-
Bas Nijholt authored
This makes the code work with any number of neighbors. Now the new triangle loss even works with nn_neigbors=0. I also added that we pass the neighbors in all loss_per_interval functions.
-
-