mirror of https://github.com/Desuuuu/klipper.git
mathutil: Wrap code to 80 columns
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
5bbae0710a
commit
e7eb745d99
|
@ -42,7 +42,8 @@ def coordinate_descent(adj_params, params, error_func):
|
||||||
continue
|
continue
|
||||||
params[param_name] = orig
|
params[param_name] = orig
|
||||||
dp[param_name] *= 0.9
|
dp[param_name] *= 0.9
|
||||||
logging.info("Coordinate descent best_err: %s rounds: %d", best_err, rounds)
|
logging.info("Coordinate descent best_err: %s rounds: %d",
|
||||||
|
best_err, rounds)
|
||||||
return params
|
return params
|
||||||
|
|
||||||
# Helper to run the coordinate descent function in a background
|
# Helper to run the coordinate descent function in a background
|
||||||
|
|
Loading…
Reference in New Issue