From 6a60fe998d8c15075f1487299e11fb379eee2f4f Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Tue, 24 Jul 2018 08:32:35 -0400 Subject: [PATCH] mathutil: Log starting error in coordinate_descent() Signed-off-by: Kevin O'Connor --- klippy/mathutil.py | 1 + 1 file changed, 1 insertion(+) diff --git a/klippy/mathutil.py b/klippy/mathutil.py index 2e39c5d1..0801eba5 100644 --- a/klippy/mathutil.py +++ b/klippy/mathutil.py @@ -17,6 +17,7 @@ def coordinate_descent(adj_params, params, error_func): dp = {param_name: 1. for param_name in adj_params} # Calculate the error best_err = error_func(params) + logging.info("Coordinate descent initial error: %s", best_err) threshold = 0.00001 rounds = 0