From c9b738deac0ba9378509e684273de90089a2f5d7 Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Tue, 30 Jun 2020 11:15:18 +0200 Subject: [PATCH] OCD change. --- ddpol.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ddpol.py b/ddpol.py index 1c5d131..f33b0a1 100755 --- a/ddpol.py +++ b/ddpol.py @@ -59,6 +59,8 @@ def fit_alpha(x, y, D, a = 0, b = 1, rho = 1e-12): ###################################################################### +# The "ground truth" + def phi(x): return torch.abs(torch.abs(x - 0.4) - 0.2) + x/2 - 0.1 -- 2.39.5