Nested Fitting — Worked Examples
Note
The HPO module ships fifteen end-to-end examples that build up
gradually: 01 is the smallest viable config, each subsequent one
introduces one or two new features. Between them they exercise the
optimiser libraries and the INIT, STRATEGY, EXPLORE,
RESTART, and INNER blocks. Each example is a self-contained
directory with one config.hpo and one README.md; all share a
small Ta training/validation bundle in examples/common/ and the
shared common/run.sh driver (two examples ship their own
run.sh to bootstrap a seed first).
To keep a single source of truth the canonical content for each example lives in the HPO source tree. The links below point at the GitLab tree so the README, configuration, and any helper scripts you read here are byte-identical to the files you check out.
How to run one example
After cloning the HPO repository alongside your Tadah!MLIP build (see Installation), run:
cd HPO/examples/01_minimal
bash ../common/run.sh
How to run them all
bash HPO/examples/run_all.sh
prints a one-line summary per example (best loss, eval count, status).
Index
# |
Example |
What it exercises |
Knobs |
|---|---|---|---|
01 |
Smallest viable config: one |
|
|
02 |
Uniform random sampling inside the bounds via |
|
|
03 |
Derivative-free local search ( |
|
|
04 |
|
|
|
05 |
|
|
|
06 |
Introduces the |
|
|
07 |
Latin-hypercube |
|
|
08 |
Sobol low-discrepancy |
|
|
09 |
Warm restart: |
|
|
10 |
Chained |
chained |
|
11 |
Exhaustive Cartesian grid sweep ( |
|
|
12 |
|
|
|
13 |
The |
|
|
14 |
NLopt MLSL global driver with a mandatory |
|
|
15 |
Classic Kirkpatrick/Metropolis simulated annealing ( |
|