SQLTrack Documentation#

SQLTrack is a set of tools to track your (machine learning) experiments. While using other tools like Sacred or mlflow tracking, we found that they limited how we could track our experiments and later what analyses we could perform. What we realized is that it is ultimately futile for library authors to guess how experiment data will be used. If it was possible for a library to cater to every single use case it would then become too bloated to use.

That is why our goal is to collect a wide variety of examples for analyses and visualizations to empower our users, instead of providing complex functionality in our package.

To that end, SQLTrack only provides a basic schema of experiments, runs, and metrics that you can extend to suit your needs, as well as some basic tools to set up the database and store experiment data.

Here is a minimal example for how to track an experiment:

import sqltrack

def main():
    client = sqltrack.Client()
    experiment = sqltrack.Experiment(client, name="ImageNet")
    run = experiment.get_run()
    with run.track():
        pass

if __name__ == "__main__":
    main()

Contents#

Indices and tables#