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().

Notes

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

See also

mlos_bench.storage

The base storage module for mlos_bench, which includes some basic examples in the documentation.

Submodules