This commit is contained in:
2025-09-09 21:16:08 +08:00
parent 51a85bc674
commit 2bc1416f6f
2 changed files with 27 additions and 0 deletions

24
lgd_config.toml Normal file
View File

@@ -0,0 +1,24 @@
# options of the Lévy-gradient-descent algorithms.
[lgd]
# hard stop after this many Lévy flights (0 = till mean-convergence test is satisfied).
flight_times = 1000
# batch size for mean-convergence test; 0 disables the test.
batch = 0
# random seed for Lévy generator; 0 = use current time.
seed = 0
# stopping threshold on batch-mean change.
epsilon = 1e-5
# std-dev of v for flight length = stddev_u / |stddev_v|^(1/beta).
stddev_v = 1.0
# stability index (1,2) controlling flight-length range; larger → shorter jumps.
beta = 1.5
# global step-size multiplier; larger → faster but possibly missed optima.
alpha = 0.01
# gradient-norm below which an orthogonal escape step is triggered.
sigma = 1e-8
# record only solutions whose objective ≤ lambda; negative = record all.
lambda = -1.0
# first-order moment coefficient.
fmt = 0.5
# second-order moment coefficient.
smt = 0.05