Skip to content

store

diapason.learning.optimize.store

SQLite-backed storage for optimization runs and trials.

OptimizationStore

SQLite-backed storage for optimization runs and trials.

close()

Close the underlying SQLite connection.

get_run(run_id)

Retrieve an optimization run by id, or None.

get_trials(run_id)

Retrieve all trial results for a given run.

list_runs(limit=50)

Return summary dicts of recent optimization runs.

save_run(run)

Persist an optimization run (insert or update).

save_trial(run_id, trial)

Persist a single trial result.