mlos_bench.storage.sql

Interfaces to the SQL-based storage backends for mlos_bench using SQLAlchemy.

In general any SQL system supported by SQLAlchemy can be used, but the default is a local SQLite instance.

Although the schema is defined (and printable) by the mlos_bench.storage.sql.schema module so direct queries are possible, users are expected to interact with the data using the ExperimentSqlData and TrialSqlData interfaces, which can be obtained from the initial SqlStorage instance obtained by mlos_bench.storage.storage_factory.from_config().

Examples

TODO: Add example usage.

Notes

See the mlos_bench/config/storage tree for some configuration examples.

Submodules