WIP: add support for neighbours in loss computation in LearnerND
2 unresolved threads
2 unresolved threads
Compare changes
Files
2- Jorn Hoofwijk authored
Conflict: This file was modified in both the source and target branches.
Ask someone with write access to resolve it.
+ 113
− 12
@@ -17,6 +17,12 @@ from .triangulation import (Triangulation, point_in_simplex,
@@ -57,6 +63,66 @@ def default_loss(simplex, ys):
@@ -67,9 +133,10 @@ def choose_point_in_simplex(simplex, transform=None):
@@ -149,10 +216,15 @@ class LearnerND(BaseLearner):
@@ -295,10 +367,10 @@ class LearnerND(BaseLearner):
@@ -362,6 +434,7 @@ class LearnerND(BaseLearner):
@@ -417,6 +490,22 @@ class LearnerND(BaseLearner):
@@ -429,12 +518,9 @@ class LearnerND(BaseLearner):
@@ -446,6 +532,21 @@ class LearnerND(BaseLearner):
@@ -763,7 +864,7 @@ class LearnerND(BaseLearner):